﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:libViewModels="clr-namespace:TaiwanPP.Library.ViewModels;assembly=TaiwanPP.Library"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    xmlns:ec="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:toolkitPrimitives="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:maptk="clr-namespace:Microsoft.Phone.Maps.Toolkit;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:maps="clr-namespace:Microsoft.Phone.Maps.Controls;assembly=Microsoft.Phone.Maps"
    xmlns:Helpers="clr-namespace:TaiwanPP.WP8App.Helpers"
    xmlns:System="clr-namespace:System;assembly=mscorlib" x:Name="root"
    x:Class="TaiwanPP.WP8App.MainPage"
    mc:Ignorable="d"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True"
    shell:SystemTray.Opacity="0"
    shell:SystemTray.BackgroundColor="Transparent">
    <phone:PhoneApplicationPage.Resources>
        <Helpers:durationConverter x:Key="durationConverter"/>
        <Helpers:stationopencolorConverter x:Key="stationopencolorConverter"/>
        <Helpers:puredateConverter x:Key="puredateConverter"/>
        <Helpers:stationbehaviortitleConverter x:Key="stationbehaviortitleConverter"/>
        <Helpers:connectivitystringConverter x:Key="connectivitystringConverter"/>
        <Helpers:filterwidthConverter x:Key="filterwidthConverter"/>
        <Helpers:filterheightConverter x:Key="filterheightConverter"/>
        <Helpers:rectclipConverter x:Key="rectclipConverter"/>
        <Helpers:geoPointConverter x:Key="geoPointConverter"/>
        <Helpers:countvisConverter x:Key="countvisConverter"/>
        <Helpers:productnameConverter x:Key="productnameConverter"/>
        <Helpers:distancefontsizeConverter x:Key="distancefontsizeConverter"/>
        <Helpers:favoriteConverter x:Key="favoriteConverter"/>
        <Helpers:DBcountConverter x:Key="DBcountConverter"/>
        <Helpers:foundcountCounter x:Key="foundcountCounter"/>
        <Helpers:bulletincolorConverter x:Key="bulletincolorConverter"/>
        <Helpers:datecolorConverter x:Key="datecolorConverter"/>
        <Helpers:dateConverter x:Key="dateConverter"/>
        <Helpers:priceConverter x:Key="priceConverter"/>
        <Helpers:savetimeConverter x:Key="savetimeConverter"/>
        <Helpers:updatefreqConverter x:Key="updatefreqConverter"/>
        <Helpers:stationpromptConverter x:Key="stationpromptConverter"/>
        <Helpers:selftypeConverter x:Key="selftypeConverter"/>
        <Helpers:selfvisConverter x:Key="selfvisConverter"/>
        <Helpers:brandvisconvert x:Key="brandvisconvert"/>
        <Helpers:colorConverter x:Key="colorConverter"/>
        <Helpers:predictpausetextConverter x:Key="predictpausetextConverter"/>
        <Helpers:signConverter x:Key="signConverter"/>
        <Helpers:boolvisConverter x:Key="boolvisConverter"/>
        <CollectionViewSource Filter="CPCFilter" x:Name="CPCcollection" Source="{Binding DataContext.currentCollections, ElementName=currentpricePage}"/>
        <CollectionViewSource Filter="FPCCFilter" x:Name="FPCCcollection" Source="{Binding DataContext.currentCollections, ElementName=currentpricePage}"/>
        <CollectionViewSource Filter="savedCPCFilter" x:Name="SAVEDCPCcollection" Source="{Binding DataContext.currentCollections, ElementName=currentpricePage}"/>
        <CollectionViewSource Filter="savedFPCCFilter" x:Name="SAVEDFPCCcollection" Source="{Binding DataContext.currentCollections, ElementName=currentpricePage}"/>
        <CollectionViewSource Filter="monitorFilter" x:Name="monitoredCollection" Source="{Binding DataContext.currentCollections, ElementName=currentpricePage}"/>
        <DataTemplate x:Key="bulletinItem">
            <Border BorderBrush="#FFE4E4E4" BorderThickness="0,1,1,1" HorizontalAlignment="Left" Height="45" VerticalAlignment="Top" Background="#FFEEEEEE" Margin="0,3" Width="410" Tap="Border_Tap">
                <toolkit:GestureService.GestureListener>
                    <toolkit:GestureListener />
                </toolkit:GestureService.GestureListener>
                <toolkit:ContextMenuService.ContextMenu>
                    <toolkit:ContextMenu>
                        <toolkit:MenuItem Header="查詢歷史與儲存價格" Click="linkhistorical" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="加入/移出觀察清單" Click="monitor_Click" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="設定為預設" Click="settile_Click" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="加入/取消釘選動態磚" Click="settile_Click" FontFamily="Portable User Interface"/>
                    </toolkit:ContextMenu>
                </toolkit:ContextMenuService.ContextMenu>
                <StackPanel Orientation="Horizontal">
                    <Rectangle Fill="{Binding brand, Converter={StaticResource bulletincolorConverter}}" HorizontalAlignment="Left" Height="45" VerticalAlignment="Top" Width="7"/>
                    <TextBlock HorizontalAlignment="Left" Margin="10,8,0,0" TextWrapping="Wrap" Text="{Binding kind, Converter={StaticResource productnameConverter}}" VerticalAlignment="Top" Width="220" Foreground="Black" FontFamily="Portable User Interface" FontSize="28"/>
                    <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding price, Converter={StaticResource priceConverter}, StringFormat=\{0:N1\}}" VerticalAlignment="Top" Foreground="Black" FontSize="28" FontFamily="Segoe WP Semibold" Margin="80,4,0,0"/>
                </StackPanel>
            </Border>
        </DataTemplate>
        <DataTemplate x:Key="megasizeItem">
            <Border BorderBrush="#FFE4E4E4" BorderThickness="0,1,1,1" HorizontalAlignment="Left" Height="70" VerticalAlignment="Top" Background="#FFEEEEEE" Margin="0,3" Width="410" Tap="Border_Tap">
                <toolkit:GestureService.GestureListener>
                    <toolkit:GestureListener />
                </toolkit:GestureService.GestureListener>
                <toolkit:ContextMenuService.ContextMenu>
                    <toolkit:ContextMenu>
                        <toolkit:MenuItem Header="查詢歷史與儲存價格" Click="linkhistorical" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="加入/移出觀察清單" Click="monitor_Click" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="設定為預設" Click="settile_Click" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="加入/取消釘選動態磚" Click="settile_Click" FontFamily="Portable User Interface"/>
                    </toolkit:ContextMenu>
                </toolkit:ContextMenuService.ContextMenu>
                <StackPanel Orientation="Horizontal">
                    <Rectangle Fill="{Binding brand, Converter={StaticResource bulletincolorConverter}}" HorizontalAlignment="Left" Height="70" VerticalAlignment="Top" Width="7"/>
                    <TextBlock HorizontalAlignment="Left" Margin="10,8,0,0" TextWrapping="Wrap" Text="{Binding kind, Converter={StaticResource productnameConverter}}" VerticalAlignment="Top" Width="280" Foreground="Black" FontFamily="Portable User Interface" FontSize="48"/>
                    <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding price, Converter={StaticResource priceConverter}, StringFormat=\{0:N1\}}" VerticalAlignment="Top" Foreground="Black" FontSize="48" FontFamily="Segoe WP Semibold" Margin="10,4,0,0"/>
                </StackPanel>
            </Border>
        </DataTemplate>
        <DataTemplate x:Key="bulletinHolder">
            <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Width="374" Margin="10,83,0,0"/>
        </DataTemplate>
        <Style x:Key="stationStyle" TargetType="phone:LongListSelector">
            <Setter Property="ItemTemplate">
                <Setter.Value>
                    <DataTemplate>
                        <Border Background="{StaticResource PhoneBackgroundBrush}"
    						Width="470" 
    						Height="40" 
    						Margin="6"
                            Padding="5">
                            <TextBlock Text="{Binding header}"
    							Foreground="{StaticResource PhoneForegroundBrush}"                                       
    							FontFamily="{StaticResource PhoneFontFamilySemiBold}"
    							FontSize="25"  
    							VerticalAlignment="Bottom"/>
                        </Border>
                    </DataTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <DataTemplate x:Key="stationHeader">
            <Border Background="Transparent">
                <Border Background="Transparent" BorderBrush="#FF666666" BorderThickness="0,0,0,3"	
    				Width="400" Height="40" 				 
    				HorizontalAlignment="Left" Padding="5" Margin="5">
                    <TextBlock Foreground="#FF222222" Text="{Binding header}" 
    					FontSize="25"
    					FontFamily="{StaticResource PhoneFontFamilyBold}"
    					HorizontalAlignment="Left"
    					VerticalAlignment="Center" Margin="0,0,10,0"/>
                </Border>
            </Border>
        </DataTemplate>
        <DataTemplate x:Key="stationItem">
            <StackPanel Orientation="Horizontal" Margin="0,2" Width="400" Height="80" Tap="station_Tap" DoubleTap="station_DoubleTap">
                <toolkit:GestureService.GestureListener>
                    <toolkit:GestureListener />
                </toolkit:GestureService.GestureListener>
                <toolkit:ContextMenuService.ContextMenu>
                    <toolkit:ContextMenu>
                        <toolkit:MenuItem Header="撥給該站" Click="phone_Click" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="導航到該站" Click="station_Click" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="{Binding favorite, Converter={StaticResource favoriteConverter}}" Click="savestation_Click" FontFamily="Portable User Interface"/>
                        <toolkit:MenuItem Header="查詢該站其他鄰近加油站" Click="querynearbystation_Click" FontFamily="Portable User Interface"/>
                    </toolkit:ContextMenu>
                </toolkit:ContextMenuService.ContextMenu>
                <Border Background="{Binding brand, Converter={StaticResource bulletincolorConverter}}">
                    <Grid>
                        <Grid.Clip>
                            <RectangleGeometry Rect="0, 0, 80, 80"/>
                        </Grid.Clip>
                        <Grid Margin="-20,-20,0,0">
                            <Canvas Opacity="0.2" Visibility="{Binding brand, ConverterParameter=0, Converter={StaticResource brandvisconvert}}">
                                <Path Data="F1M70,35.012C70,15.687 54.329,0 35.008,0 15.67,0 0,15.687 0,35.012 0,52.439 12.733,66.891 29.405,69.568L29.405,67.7C13.769,65.043 1.85,51.419 1.85,35.012 1.85,16.69 16.689,1.85 35.008,1.85 53.312,1.85 68.166,16.69 68.166,35.012 68.166,51.674 55.874,65.463 39.864,67.816L39.864,69.678C56.894,67.31,70,52.692,70,35.012" Fill="White" Height="69.678" Canvas.Left="0" Canvas.Top="0" Width="70"/>
                                <Path Data="F1M62.088,31.042C62.088,13.904 48.2,0 31.052,0 13.904,0 0,13.904 0,31.042 0,46.29 11.002,58.969 25.484,61.589L25.484,59.435C12.172,56.841 2.122,45.116 2.122,31.042 2.122,15.059 15.076,2.122 31.052,2.122 47.029,2.122 59.983,15.059 59.983,31.042 59.983,45.336 49.609,57.205 35.992,59.548L35.992,61.694C50.781,59.329,62.088,46.507,62.088,31.042" Fill="White" Height="61.694" Canvas.Left="3.837" Canvas.Top="3.939" Width="62.088"/>
                                <Path Data="F1M53.617,26.814C53.617,12.002 41.614,0 26.809,0 12.004,0 0,12.002 0,26.814 0,39.715 9.101,50.486 21.24,53.046L21.24,50.88C10.289,48.359 2.106,38.541 2.106,26.814 2.106,13.173 13.176,2.122 26.809,2.122 40.441,2.122 51.495,13.173 51.495,26.814 51.495,38.761 43.022,48.728 31.749,51.014L31.749,53.17C44.194,50.852,53.617,39.935,53.617,26.814" Fill="White" Height="53.17" Canvas.Left="8.08" Canvas.Top="8.167" Width="53.617"/>
                                <Path Data="F1M18.473,4.853C18.473,4.853,15.178,3.09,10.629,2.946L10.629,1.915C13.022,1.978 15.74,2.465 18.66,3.734 18.998,3.877 18.473,4.853 18.473,4.853 M1.614,5.104L1.172,4.045C1.172,4.045,4.432,2.072,9.458,1.915L9.458,2.947C7.029,3.026,4.33,3.594,1.614,5.104 M10.629,1.028L10.629,0 9.458,0 9.458,1.053C3.905,1.325 0,3.796 0,3.796 0,3.796 1.206,6.339 1.614,6.162 5.043,4.667 7.318,3.913 9.458,3.764L9.458,5.477 10.629,5.477 10.629,3.742C12.886,3.818 15.196,4.552 18.778,5.788 19.152,5.912 19.779,3.422 19.779,3.422 16.554,1.678 13.43,1.055 10.629,1.028" Fill="White" Height="6.171" Canvas.Left="24.566" Canvas.Top="36.412" Width="19.779"/>
                                <Path Data="F1M12.694,0C12.694,0 9.196,3.617 9.569,6.842 9.689,7.827 9.706,10.323 8.585,11.324 8.178,11.681 6.123,8.099 3.237,8.456 3.237,9.083 6.717,10.696 2.983,14.437 2.252,15.038 -4.369,24.268 4.85,25.263 5.394,25.325 -1.007,22.401 5.342,16.428 5.716,16.077 5.597,23.036 11.692,23.036 13.186,23.036 17.159,21.032 16.632,16.801 17.295,16.304 24.391,21.406 18.042,25.016 18.042,25.016 20.147,25.512 22.151,23.771 24.408,21.785 25.902,18.077 20.028,13.073 20.028,13.073 21.03,10.832 20.147,9.202 19.808,8.574 19.909,6.469 20.147,5.857 20.402,5.229 18.907,7.215 19.027,8.456 19.162,9.712 17.295,11.205 16.632,10.951 16.141,10.764 18.042,9.712 13.56,5.111 12.779,4.295 11.624,2.105 12.694,0" Fill="White" Height="25.264" Canvas.Left="23.197" Canvas.Top="12.58" Width="24.144"/>
                                <Path Data="F1M0.531,0C0.531,0 0.718,3.67 3.401,5.289 3.57,5.39 -1.642,4.417 0.531,0" Fill="White" Height="5.296" Canvas.Left="27.567" Canvas.Top="31.311" Width="3.405"/>
                                <Path Data="F1M3.26,0C3.581,0.218 4.771,4.698 0.017,5.289 -0.254,5.324 2.767,4.264 3.26,0" Fill="White" Height="5.29" Canvas.Left="37.962" Canvas.Top="31.403" Width="3.629"/>
                                <Path Data="F1M1.901,0C1.901,0 2.444,4.194 2.614,4.606 2.869,5.187 0.797,3.485 0,0.622 0.255,0.333 1.901,0 1.901,0" Fill="White" Height="4.719" Canvas.Left="27.419" Canvas.Top="42.448" Width="2.636"/>
                                <Path Data="F1M0,0.209L1.698,0 1.782,5.601C1.782,5.601 2.7,6.015 4.108,6.087 4.228,6.095 4.022,17.796 4.022,17.796L3.328,17.754 3.022,6.886C3.022,6.886 0.917,6.596 0.374,5.975 0.187,5.764 0,0.209 0,0.209" Fill="White" Height="17.796" Canvas.Left="30.781" Canvas.Top="41.868" Width="4.146"/>
                                <Path Data="F1M3.819,3.64C3.413,3.435,2.97,3.279,2.564,3.156L2.648,1.915C3.141,2.025 3.683,2.183 4.295,2.412 4.295,2.412 4.311,2.928 3.819,3.64 M2.411,4.955L2.512,3.781C2.885,3.906 3.21,4.041 3.413,4.133 3.158,4.398 2.836,4.675 2.411,4.955 M0.747,3.464C1.103,3.467 1.46,3.514 1.782,3.583 1.731,4.265 1.647,4.96 1.51,5.488 1.306,5.593 1.086,5.699 0.848,5.803 0.781,5.831 0.747,4.594 0.747,3.464 M0.747,1.667C0.747,1.667 1.172,1.659 1.867,1.765 1.867,2.087 1.85,2.51 1.816,2.967 1.375,2.869 0.984,2.813 0.747,2.784z M2.732,1.223L2.75,0.12C2.75,0.12 2.019,0 1.935,0 1.952,0.172 1.92,0.608 1.902,0.951 1.392,0.904 0.136,0.763 0,0.763 0.085,1.344 0.016,6.757 0.016,6.757 0.016,6.757 4.5,5.761 5.569,2.029 5.619,1.862 2.732,1.223 2.732,1.223" Fill="White" Height="6.757" Canvas.Left="35.789" Canvas.Top="41.747" Width="5.57"/>
                                <Path Data="F1M0,0L0.968,0 0.968,4.23 0,4.23z" Fill="White" Height="4.23" Canvas.Left="33.548" Canvas.Top="42.574" Width="0.968"/>
                                <Path Data="F1M3.714,3.614L8.001,3.614C7.11,3.278 6.202,3.001 5.278,2.783 4.876,3.112 4.354,3.39 3.714,3.614 M7.298,6.565L2.08,6.565 2.08,7.15 7.298,7.15z M2.08,5.942L7.298,5.942 7.298,5.427 2.08,5.427z M2.08,4.783L7.298,4.783 7.298,4.288 2.08,4.288z M0.872,0.228C1.458,0.445,2,0.706,2.494,1.01L1.942,1.851C1.438,1.474,0.924,1.172,0.395,0.94z M4.396,0L5.218,0.316C5.106,0.488,5.004,0.647,4.912,0.792L8.872,0.792 8.872,1.456C8.516,1.851,8.088,2.199,7.586,2.495L6.962,1.93C7.174,1.831,7.41,1.686,7.674,1.495L6.338,1.495C6.172,1.76 6.022,1.99 5.882,2.188 7.018,2.459 8.063,2.763 9.022,3.099L8.546,3.843C8.442,3.797,8.328,3.754,8.21,3.714L8.21,7.813 6.16,7.813C7.13,7.992,8.14,8.249,9.19,8.587L8.854,9.418C7.83,9.035,6.764,8.74,5.654,8.537L6.022,7.813 3.358,7.813 3.872,8.427C2.802,8.856,1.736,9.173,0.672,9.378L0.276,8.547C1.426,8.394,2.43,8.148,3.288,7.813L1.168,7.813 1.168,3.614 3.06,3.614 2.644,3.069C3.528,2.852 4.212,2.555 4.694,2.178 4.924,1.993 5.132,1.766 5.318,1.495L4.268,1.495C3.99,1.76,3.574,2.05,3.02,2.365L2.326,1.753C2.868,1.482 3.3,1.215 3.624,0.95 3.934,0.687 4.192,0.369 4.396,0 M2.208,2.02L2.456,2.862C1.902,3.173,1.208,3.445,0.376,3.683L0,2.794C0.726,2.634,1.462,2.376,2.208,2.02" Fill="White" Height="9.418" Canvas.Left="29.921" Canvas.Top="60.541" Width="9.19"/>
                            </Canvas>
                            <Canvas Opacity="0.2" Visibility="{Binding brand, ConverterParameter=1, Converter={StaticResource brandvisconvert}}">
                                <Path Data="M0.801,27.604C1.322,27.833 1.729,27.641 2.151,27.517 5.069,26.66 8.076,26.028 10.883,24.896 13.454,23.858 15.103,24.338 16.817,26.483 18.254,28.283 20.216,29.665 21.816,31.115 22.259,28.452 22.8,25.421 23.245,22.377 23.382,21.443 23.726,20.996 24.669,20.728 27.947,19.794 31.192,18.743 34.699,17.659 31.669,16.231 28.917,14.861 26.097,13.644 25.035,13.186 24.859,12.608 25.037,11.58 25.414,9.415 25.685,7.231 26.05,4.703 24.016,6.573 22.218,8.183 20.477,9.853 19.912,10.393 19.464,10.456 18.754,10.122 14.44,8.094 10.102,6.116 5.767,4.133 5.467,3.996 5.185,3.668 4.676,3.954 7.848,7.691 10.991,11.396 14.364,15.371L6.274,15.371C7.323,16.493 8.167,17.451 9.073,18.344 9.735,18.997 9.902,19.396 9.04,20.139 6.246,22.549 3.561,25.086 0.801,27.604 M34.896,34.885C23.579,34.885 12.262,34.876 0.946,34.905 0.174,34.907 -0.002,34.731 0,33.959 0.029,22.643 0.02,11.326 0.02,0.009 11.649,0.013 23.278,0.017 34.907,0.021L34.904,0C34.938,0.366 35.003,0.732 35.003,1.099 35.009,12.038 35.009,22.978 35.003,33.916 35.003,34.24 34.933,34.562 34.896,34.885" Fill="#FFE6E6E6" Height="34.905" Canvas.Left="0" Canvas.Top="34.887" Width="35.008"/>
                                <Path Data="M18.486,31.008C19.306,30.948 20.137,30.956 20.944,30.82 26.949,29.802 30.755,26.157 32.963,20.649 33.145,20.194 33.652,19.549 33.067,19.215 32.461,18.868 32.11,19.62 31.719,20.006 31.632,20.091 31.575,20.206 31.493,20.298 29.398,22.652 27.028,24.59 23.802,25.107 21.193,25.525 18.618,25.365 16.212,24.16 10.335,21.218 11.494,13.51 15.148,10.734 17.258,9.131 20.836,9.035 22.912,10.588 24.288,11.618 24.873,13.566 24.27,15.109 23.544,16.966 22.176,17.792 20.206,17.59 19.522,17.519 18.961,17.193 18.41,16.825 18.135,16.642 17.82,16.376 17.52,16.624 17.186,16.902 17.333,17.303 17.502,17.646 17.795,18.242 18.154,18.775 18.715,19.172 20.415,20.376 22.319,20.603 24.255,20.124 27.163,19.406 28.777,17.322 29.336,14.5 29.936,11.471 29.218,8.738 26.735,6.72 23.775,4.314 20.314,3.82 16.617,4.196 10.139,4.857 4.892,10.465 4.745,16.973 4.56,25.154 10.263,30.962 18.486,31.008 M34.907,34.908C23.278,34.904 11.649,34.9 0.02,34.896 0.02,23.579 0.028,12.262 0,0.946 -0.002,0.174 0.174,-0.002 0.945,0 12.262,0.029 23.579,0.02 34.896,0.02 34.934,0.341 35.007,0.664 35.007,0.987 35.012,11.97 35.012,22.954 35.007,33.938 35.007,34.261 34.942,34.585 34.907,34.908" Fill="White" Height="34.908" Canvas.Left="0" Canvas.Top="0" Width="35.011"/>
                                <Path Data="M17.607,28.755C23.959,28.781 29.1,23.66 29.065,17.342 29.032,11.145 24.004,6.035 17.904,5.996 11.436,5.954 6.329,10.9 6.304,17.229 6.28,23.675 11.236,28.729 17.607,28.755 M0.011,34.909C0.045,34.585 0.111,34.262 0.111,33.938 0.116,22.954 0.116,11.97 0.11,0.987 0.11,0.664 0.038,0.342 0,0.02 11.399,0.02 22.798,0.029 34.197,0 34.968,-0.002 35.145,0.173 35.143,0.945 35.114,12.262 35.124,23.579 35.124,34.896 27.663,34.908 20.203,34.929 12.743,34.93 8.498,34.931 4.253,34.902 0.008,34.887z" Fill="#FFE6E6E6" Height="34.93" Canvas.Left="34.896" Canvas.Top="0" Width="35.143"/>
                                <Path Data="M13.738,12.176C13.298,9.632 12.99,7.267 12.399,4.957 12.267,4.441 12.182,3.864 11.532,3.733 10.893,3.604 10.577,4.11 10.211,4.489 10.068,4.636 9.935,4.797 9.82,4.966 6.762,9.474 4.926,14.351 5.159,19.899 5.471,27.327 13.129,32.363 20.02,29.594 24.16,27.93 26.842,24.673 29.091,20.995 30.169,19.232 30.998,17.35 31.553,15.354 31.698,14.833 31.859,14.266 31.429,13.833 30.979,13.381 30.436,13.613 29.93,13.816 29.625,13.938 29.315,14.048 29.009,14.173 27.075,14.963 25.141,15.756 23.241,16.535 22.976,16.246 23.055,15.991 23.077,15.758 23.338,13.012 23.553,10.263 23.511,7.503 23.501,6.842 23.856,5.967 23.08,5.581 22.263,5.176 21.725,5.976 21.167,6.403 18.721,8.27 16.304,10.176 13.738,12.176 M0.008,0C4.253,0.016 8.498,0.045 12.743,0.044 20.203,0.042 27.663,0.022 35.124,0.009 35.124,11.326 35.114,22.643 35.143,33.96 35.145,34.732 34.968,34.907 34.197,34.906 22.798,34.877 11.399,34.886 0,34.886 0.037,34.563 0.107,34.24 0.107,33.917 0.113,22.978 0.113,12.039 0.107,1.099 0.107,0.733 0.042,0.366 0.008,0" Fill="White" Height="34.906" Canvas.Left="34.896" Canvas.Top="34.886" Width="35.143"/>
                                <Path Data="M0,23.763C2.76,21.245 5.445,18.708 8.239,16.298 9.101,15.555 8.934,15.156 8.272,14.503 7.366,13.61 6.522,12.652 5.473,11.53L13.563,11.53C10.19,7.555 7.047,3.85 3.875,0.113 4.384,-0.173 4.666,0.155 4.966,0.292 9.301,2.275 13.639,4.253 17.953,6.281 18.663,6.615 19.111,6.552 19.676,6.012 21.417,4.342 23.215,2.732 25.249,0.862 24.884,3.39 24.613,5.574 24.236,7.739 24.058,8.767 24.234,9.345 25.296,9.803 28.116,11.02 30.868,12.39 33.898,13.818 30.391,14.902 27.146,15.953 23.868,16.887 22.925,17.155 22.581,17.602 22.444,18.536 21.999,21.58 21.458,24.611 21.015,27.274 19.415,25.824 17.453,24.442 16.016,22.642 14.302,20.497 12.653,20.017 10.082,21.055 7.275,22.187 4.268,22.819 1.35,23.676 0.928,23.8 0.521,23.992 0,23.763" Fill="#FFCCCCCC" Height="27.275" Canvas.Left="0.801" Canvas.Top="38.728" Width="33.898"/>
                                <Path Data="M13.745,26.925C5.522,26.879 -0.181,21.071 0.004,12.89 0.151,6.382 5.398,0.774 11.876,0.113 15.573,-0.263 19.034,0.231 21.994,2.637 24.477,4.655 25.195,7.388 24.595,10.417 24.036,13.239 22.422,15.323 19.514,16.041 17.578,16.52 15.674,16.293 13.974,15.089 13.413,14.692 13.054,14.159 12.761,13.563 12.592,13.22 12.445,12.819 12.779,12.541 13.079,12.293 13.394,12.559 13.669,12.742 14.22,13.11 14.781,13.436 15.465,13.507 17.435,13.709 18.803,12.883 19.529,11.026 20.132,9.483 19.547,7.535 18.171,6.505 16.095,4.952 12.517,5.048 10.407,6.651 6.753,9.427 5.594,17.135 11.471,20.077 13.877,21.282 16.452,21.442 19.061,21.024 22.287,20.507 24.657,18.569 26.752,16.215 26.834,16.123 26.891,16.008 26.978,15.923 27.369,15.537 27.72,14.785 28.326,15.132 28.911,15.466 28.404,16.111 28.222,16.566 26.014,22.074 22.208,25.719 16.203,26.737 15.396,26.873 14.565,26.865 13.745,26.925" Fill="#FFCCCCCC" Height="26.925" Canvas.Left="4.741" Canvas.Top="4.083" Width="28.6"/>
                                <Path Data="M20.199,11.466C20.21,6.43 16.293,2.453 11.348,2.476 6.434,2.5 2.504,6.442 2.492,11.359 2.48,16.309 6.378,20.236 11.307,20.241 16.3,20.247 20.189,16.408 20.199,11.466 M11.303,22.759C4.931,22.733 -0.025,17.679 0,11.234 0.024,4.904 5.131,-0.042 11.599,0 17.7,0.04 22.727,5.15 22.761,11.346 22.795,17.664 17.654,22.785 11.303,22.759" Fill="#FFCCCCCC" Height="22.759" Canvas.Left="41.201" Canvas.Top="5.995" Width="22.761"/>
                                <Path Data="M8.599,8.463C11.165,6.463 13.582,4.557 16.028,2.69 16.586,2.263 17.124,1.463 17.941,1.868 18.717,2.254 18.362,3.129 18.372,3.79 18.414,6.55 18.199,9.299 17.938,12.045 17.916,12.278 17.837,12.533 18.102,12.822 20.002,12.043 21.936,11.25 23.87,10.46 24.176,10.335 24.486,10.225 24.791,10.103 25.297,9.9 25.84,9.668 26.29,10.12 26.72,10.553 26.559,11.12 26.414,11.641 25.859,13.637 25.03,15.519 23.952,17.282 21.703,20.96 19.021,24.217 14.881,25.881 7.99,28.65 0.332,23.614 0.02,16.186 -0.213,10.638 1.623,5.761 4.681,1.253 4.796,1.084 4.929,0.923 5.072,0.776 5.438,0.397 5.754,-0.109 6.393,0.02 7.043,0.151 7.128,0.728 7.26,1.244 7.851,3.554 8.159,5.919 8.599,8.463" Fill="#FFCCCCCC" Height="26.652" Canvas.Left="40.035" Canvas.Top="38.599" Width="26.568"/>
                                <Path Data="M17.707,8.99C17.697,13.932 13.808,17.771 8.815,17.765 3.886,17.76 -0.012,13.833 0,8.883 0.012,3.966 3.942,0.024 8.856,0 13.801,-0.023 17.718,3.954 17.707,8.99" Fill="#FFE6E6E6" Height="17.765" Canvas.Left="43.693" Canvas.Top="8.471" Width="17.707"/>
                            </Canvas>
                        </Grid>
                        <StackPanel VerticalAlignment="Center" HorizontalAlignment="Left">
                            <StackPanel Margin="3,0">
                                <TextBlock Margin="0,-3,0,0" Text="{Binding distance, Converter={StaticResource priceConverter}, StringFormat=\{0:N1\}}" FontSize="{Binding distance, Converter={StaticResource distancefontsizeConverter}}" FontFamily="Consolas" FontWeight="Bold"/>
                            <TextBlock Text="km" Margin="0,-16,0,0" HorizontalAlignment="Right" FontFamily="Portable User Interface"/>
                            </StackPanel>
                            <Border Margin="0,-2,0,0" Background="{Binding open, Converter={StaticResource stationopencolorConverter}}" Padding="1">
                            <StackPanel Height="16" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <TextBlock Text="24小時" Foreground="White" Visibility="{Binding duration, ConverterParameter=1, Converter={StaticResource durationConverter}}" FontSize="14" FontFamily="Portable User Interface"/>
                                    <TextBlock Text="流動站" Foreground="White" Visibility="{Binding duration, ConverterParameter=3, Converter={StaticResource durationConverter}}" FontSize="14" FontFamily="Portable User Interface"/>
                                    <TextBlock Text="整修或停業" Foreground="White" Visibility="{Binding duration, ConverterParameter=0, Converter={StaticResource durationConverter}}" FontSize="14" FontFamily="Portable User Interface"/>
                                <StackPanel Orientation="Horizontal" Visibility="{Binding duration, ConverterParameter=2, Converter={StaticResource durationConverter}}">
                                    <TextBlock Text="{Binding starttime, Converter={StaticResource puredateConverter}, StringFormat=HH:mm}" Foreground="White" FontSize="14"/>
                                    <TextBlock Text="-" Foreground="White" FontFamily="Portable User Interface" FontSize="14"/>
                                    <TextBlock Text="{Binding endtime, StringFormat=HH:mm}" Foreground="White" FontSize="14"/>
                                </StackPanel>
                            </StackPanel>
                            </Border>
                        </StackPanel>
                    </Grid>
                </Border>
                <Border BorderBrush="#FFE4E4E4" BorderThickness="0,1,1,1" Width="325" Background="#FFEEEEEE">
                    <Grid>
                        <StackPanel Margin="8,0,0,0">
                            <TextBlock Text="{Binding name}" Foreground="Black" FontSize="20" FontWeight="Bold" FontFamily="Segoe WP"/>
                            <TextBlock Text="{Binding address}" Foreground="Black"/>
                            <TextBlock Text="{Binding phone}" Foreground="Black"/>
                        </StackPanel>
                        <Grid Height="30.914" Width="74.053" Margin="241,46,10,0" Visibility="{Binding selftype, Converter={StaticResource selfvisConverter}}">
                            <Path Data="M22.219,1.995C20.699,1.651 18.931,2.014 17.497,1.891 14.958,1.674 12.506,1.872 10.138,2.817 5.648,4.611 3.862,9.035 6.164,13.317 5.064,13.128 4.059,12.962 3.058,12.779 2.073,12.598 1.089,12.396 0.138,12.211 -0.651,7.413 2.029,2.745 6.46,1.131 11.826,-0.824 17.292,-0.055 22.219,1.995" Fill="#FF28A36D" Margin="4.452,0,47.383,17.597"/>
                            <Path Data="M21.852,2.864C20.332,2.521 18.929,2.197 17.523,1.887 14.962,1.325 12.534,1.868 10.165,2.814 5.675,4.608 3.888,9.031 6.189,13.315 5.09,13.125 1.085,12.195 0.137,12.01 -0.654,7.211 2.054,2.742 6.485,1.129 11.853,-0.827 16.948,-0.236 21.852,2.864" Fill="#FFF6B152" Margin="8.484,0.967,43.717,16.632"/>
                            <Path Data="M0,11.322C1.518,11.665 3.286,11.304 4.72,11.426 7.26,11.643 9.71,11.447 12.08,10.5 16.57,8.705 18.354,4.282 16.054,0 17.154,0.191 18.158,0.354 19.158,0.539 20.146,0.719 21.13,0.922 22.078,1.107 22.87,5.904 20.188,10.573 15.758,12.186 10.39,14.141 4.926,13.374 0,11.322" Fill="#FF28A36D" Margin="10.134,17.126,41.702,0.471"/>
                            <Path Data="M0,10.45C1.518,10.796 2.922,11.119 4.326,11.428 6.888,11.99 9.318,11.448 11.686,10.5 16.176,8.707 17.964,4.284 15.662,0 16.76,0.191 20.766,1.121 21.714,1.306 22.504,6.104 19.796,10.574 15.364,12.188 9.998,14.142 4.902,13.551 0,10.45" Fill="#FFF6B152" Margin="6.469,16.161,45.733,1.438"/>
                            <Path Data="F1M0.882,7.211L6.236,7.211 6.236,5.847 0.882,5.847z M0.882,4.994L6.236,4.994 6.236,3.723 0.882,3.723z M0.882,2.868L6.236,2.868 6.236,1.792 0.882,1.792z M2.738,0L3.703,0.131C3.635,0.42,3.526,0.69,3.379,0.939L7.127,0.939 7.127,8.576 6.236,8.576 6.236,8.064 0.882,8.064 0.882,8.576 0,8.576 0,0.939 2.413,0.939C2.549,0.635,2.658,0.323,2.738,0" Fill="#FF3F75B5" Margin="17.91,5.547,49.016,16.791"/>
                            <Path Data="F1M7.108,8.622C6.886,8.622,6.636,8.608,6.356,8.585L6.198,7.609C6.496,7.667 6.803,7.693 7.117,7.693 7.384,7.693 7.532,7.508 7.563,7.137 7.613,6.68 7.643,5.188 7.656,2.663L6.579,2.663C6.536,3.901 6.387,4.937 6.135,5.773 5.843,6.72 5.289,7.691 4.472,8.687L3.74,8.047C4.488,7.255 5.017,6.408 5.327,5.504 5.562,4.853 5.691,3.908 5.716,2.663L4.306,2.663 4.306,1.81 5.726,1.81 5.726,0 6.589,0 6.589,1.81 8.51,1.81C8.51,4.983 8.472,6.865 8.399,7.454 8.355,7.91 8.254,8.207 8.093,8.344 7.912,8.529 7.585,8.622 7.108,8.622 M1.466,7.202C2.066,7.06,2.635,6.902,3.173,6.728L3.173,5.355 1.466,5.355z M1.466,4.613L3.173,4.613 3.173,3.193 1.466,3.193z M1.466,2.451L3.173,2.451 3.173,1.123 1.466,1.123z M4.018,0.371L4.018,6.45C4.167,6.408,4.296,6.363,4.408,6.321L4.408,7.146C3.208,7.591,1.821,7.994,0.25,8.352L0,7.535C0.21,7.499,0.411,7.459,0.603,7.416L0.603,0.371z" Fill="#FF3F75B5" Margin="26.671,5.612,38.872,16.615"/>
                            <Path Data="F1M5.902,7.007L7.573,7.007 7.573,1.987 5.902,1.987z M8.455,1.142L8.455,8.547 7.573,8.547 7.573,7.862 5.902,7.862 5.902,8.586 5.003,8.586 5.003,1.142z M2.905,8.547C2.689,8.547,2.441,8.54,2.164,8.52L2.005,7.538C2.302,7.586 2.605,7.61 2.915,7.61 3.235,7.61 3.422,7.424 3.471,7.055 3.533,6.572 3.57,5.019 3.583,2.396L2.468,2.396C2.437,3.627 2.32,4.663 2.115,5.505 1.875,6.537 1.423,7.589 0.762,8.661L0,7.981C0.594,7.133 1.018,6.213 1.273,5.216 1.451,4.567 1.556,3.627 1.588,2.396L0.177,2.396 0.177,1.55 1.597,1.55 1.597,0 2.479,0 2.479,1.55 4.501,1.55C4.501,4.805 4.465,6.736 4.389,7.341 4.328,7.813 4.211,8.121 4.038,8.27 3.826,8.456 3.449,8.547 2.905,8.547" Fill="#FF3F75B5" Margin="0,16.161,65.598,6.092"/>
                            <Path Data="F1M5.838,7.305L7.239,7.305 7.239,5.085 5.838,5.085z M5.838,4.27L7.239,4.27 7.239,2.301 5.838,2.301z M3.565,7.305L4.947,7.305 4.947,5.085 3.565,5.085z M3.565,4.27L4.947,4.27 4.947,2.301 3.565,2.301z M8.139,1.486L8.139,8.751 7.24,8.751 7.24,8.119 3.565,8.119 3.565,8.751 2.683,8.751 2.683,1.486 4.947,1.486 4.947,0 5.838,0 5.838,1.486z M0.956,0.177C1.52,0.48,2.031,0.835,2.489,1.243L1.932,2.107C1.449,1.606,0.953,1.206,0.446,0.909z M1.552,4.781L2.275,5.308C1.823,6.602,1.315,7.729,0.752,8.688L0.075,7.945C0.546,7.202,1.037,6.148,1.552,4.781 M0.474,2.441C1.062,2.72,1.584,3.054,2.041,3.444L1.513,4.27C1.019,3.805,0.514,3.435,0,3.155z" Fill="#FF3F75B5" Margin="9.642,16.134,56.272,6.029"/>
                            <TextBlock Foreground="Black" Text="{Binding selftype, Converter={StaticResource selftypeConverter}}" Margin="39.589,8,0,0" FontSize="21.333"/>
                        </Grid>
                    </Grid>
                </Border>
            </StackPanel>
        </DataTemplate>
        <DataTemplate x:Key="DCitem">
            <StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,5">
                <Rectangle Fill="#FFFD0F0F" Height="10" Width="10" Margin="5" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                <TextBlock TextWrapping="Wrap" Text="{Binding title}" FontSize="21.333" Width="290" />
                <Border Background="#FFE8E8E8" Margin="10,0,0,0" Padding="0" Height="30" VerticalAlignment="Top" HorizontalAlignment="Right">
                    <StackPanel Orientation="Horizontal">
                        <TextBlock TextWrapping="Wrap" Text="{Binding pubDate, Converter={StaticResource dateConverter}, StringFormat=yyyy/MM/dd}" FontSize="16" Margin="3,5" Foreground="#FF5F5F5F" FontFamily="Portable User Interface"/>
                        <Rectangle Fill="#FF344991" Width="4"/>
                    </StackPanel>
                </Border>
            </StackPanel>
        </DataTemplate>
    </phone:PhoneApplicationPage.Resources>
    <phone:PhoneApplicationPage.FontSize>
        <StaticResource ResourceKey="PhoneFontSizeNormal"/>
    </phone:PhoneApplicationPage.FontSize>
    <phone:PhoneApplicationPage.Foreground>
        <StaticResource ResourceKey="PhoneForegroundBrush"/>
    </phone:PhoneApplicationPage.Foreground>
    <shell:SystemTray.ProgressIndicator>
        <shell:ProgressIndicator x:Name="systemtray"/>
    </shell:SystemTray.ProgressIndicator>
    <Grid x:Name="LayoutRoot" Background="#FFF7F7F7">
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="VisualStateGroup">
                <VisualStateGroup.Transitions>
                    <VisualTransition GeneratedDuration="0">
                        <VisualTransition.GeneratedEasingFunction>
                            <CircleEase EasingMode="EaseOut"/>
                        </VisualTransition.GeneratedEasingFunction>
                    </VisualTransition>
                </VisualStateGroup.Transitions>
                <VisualState x:Name="Load">
                    <Storyboard>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="splash">
                            <DiscreteObjectKeyFrame KeyTime="0">
                                <DiscreteObjectKeyFrame.Value>
                                    <Visibility>Visible</Visibility>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                            <DiscreteObjectKeyFrame KeyTime="0:0:1.7">
                                <DiscreteObjectKeyFrame.Value>
                                    <Visibility>Collapsed</Visibility>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="splash">
                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                            <EasingDoubleKeyFrame KeyTime="0:0:1.2" Value="1"/>
                            <EasingDoubleKeyFrame KeyTime="0:0:1.7" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="White"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="Black"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="White"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path2">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="White"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path3">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="White"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path4">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="White"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path5">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="White"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path6">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="White"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path7">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="White"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path8">
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="White"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="Black"/>
                        </ColorAnimationUsingKeyFrames>
                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="splash">
                            <EasingColorKeyFrame KeyTime="0" Value="Black"/>
                            <EasingColorKeyFrame KeyTime="0:0:0.7" Value="Black"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.1" Value="#FEFFFFFF"/>
                            <EasingColorKeyFrame KeyTime="0:0:1.2" Value="White"/>
                        </ColorAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
        <i:Interaction.Triggers>
            <i:EventTrigger>
                <ec:GoToStateAction StateName="Load"/>
            </i:EventTrigger>
        </i:Interaction.Triggers>

        <!-- 當地語系化注意事項: 
            若要將顯示的字串當地語系化，請將其值複製到應用程式的中性語言資源檔
            (AppResources.resx) 中已適當命名的機碼，然後
            將屬性的引號之間硬式編碼的文字值取代
            為其路徑指向該字串名稱的繫結子句。

            例如: 

                Text="{Binding Path=LocalizedResources.ApplicationTitle, Source={StaticResource LocalizedStrings}}"

            此繫結指向範本中名為 "ApplicationTitle" 的字串資源。

            在 [專案屬性] 索引標籤中加入支援的語言將為
            每種能承載 UI 字串翻譯值的每一種語言建立一個
            新的 resx 檔案。這些範例中的繫結將導致在執行時從
            與應用程式的 CurrentUICulture 相符的 .resx 檔案中
            取得屬性的值。
         -->
        <!--取消註解以查看對齊格線，協助確保您的控制項
            皆對齊共同的邊界。當影像在系統匣中顯示時的
            上方邊界為 -32px。如果隱藏了系統匣，則將此值設為 0
            (或完全移除邊界)。

            在送出之前請移除此 XAML 和影像本身。-->
        <!--<Image Source="/Assets/AlignmentGrid.png" VerticalAlignment="Top" Height="800" Width="480" Margin="0" Grid.Row="0" Grid.RowSpan="2" IsHitTestVisible="False" />-->
        <!--全景控制項-->
        <phone:Panorama x:Name="PanoramaRoot" Foreground="Black" Loaded="App_Loaded" SelectionChanged="Panorama_SelectionChanged" Margin="0,32,0,0" FontFamily="Portable User Interface">

            <!--台塑油價
            <phone:PanoramaItem x:Name="fpccpricePage" Background="#4CFFFFFF">
                <phone:PanoramaItem.Header>
                    <StackPanel Orientation="Horizontal">

                        <TextBlock Text="台塑本周價格" FontSize="45"/>
                    </StackPanel>
                </phone:PanoramaItem.Header>
                <Grid HorizontalAlignment="Left" Height="536" Margin="0,-40,0,-23" VerticalAlignment="Top" Width="394">
                    <Grid Margin="10,10,10,454">
                        

                        <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="公告日期" VerticalAlignment="Top" Foreground="#FF235178" FontFamily="Portable User Interface" Margin="10,4,0,0" FontSize="24"/>
                        
                        <TextBlock Text="汽油" Margin="159,0,185,55" FontSize="14" Foreground="#FF888888"/>
                        <TextBlock Text="柴油" Margin="266,0,79,56" FontSize="14" Foreground="#FF888888"/>


                    </Grid>
                    
                </Grid>
            </phone:PanoramaItem>-->
            <!--油價預測-->
            <phone:PanoramaItem x:Name="digestPage" Background="#4CFFFFFF">
                <phone:PanoramaItem.Header>
                    <TextBlock Text="摘要資訊" FontSize="45" Margin="0,5,0,0" FontFamily="Portable User Interface"/>
                </phone:PanoramaItem.Header>
                <ScrollViewer Margin="0,-40,0,0">
                <StackPanel>
                    <Border BorderThickness="0,0,0,1" BorderBrush="Black" Margin="0,3">
                        <TextBlock Text="油品觀測清單" FontSize="26"/>
                    </Border>
                    <TextBlock Text="請至「目前油價」中將長壓價格看板將油品加入觀測清單或動態磚" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10" Visibility="{Binding DataContext.monitorcount, ConverterParameter=0, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                    <ItemsControl x:Name="monitoritems" ItemsSource="{Binding Source={StaticResource monitoredCollection}}" ItemTemplate="{Binding Source={StaticResource megasizeItem}}" ItemsPanel="{Binding Source={StaticResource bulletinHolder}}" Margin="0" Visibility="{Binding DataContext.monitorcount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                    <Border BorderThickness="0,0,0,1" BorderBrush="Black" Margin="0,3">
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="中油油價預測" FontSize="26"/>
                                <TextBlock Text="{Binding DataContext.pstartdate, Converter={StaticResource dateConverter}, ElementName=predictPage, StringFormat=\{0:d\}}" Foreground="#FF818181" FontSize="14" VerticalAlignment="Center" Margin="10,0,0,0"/>
                                <TextBlock Text="至" FontSize="14" Foreground="#FF818181" VerticalAlignment="Center" />
                                <TextBlock Text="{Binding DataContext.penddate, Converter={StaticResource dateConverter}, ElementName=predictPage, StringFormat=\{0:d\}}" FontSize="14" Foreground="#FF818181" VerticalAlignment="Center"/>
                            </StackPanel>
                        </Border>
                    <TextBlock Text="載入中" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10" Visibility="{Binding DataContext.loaded, ConverterParameter=0, Converter={StaticResource boolvisConverter}, ElementName=predictPage}"/>
                    <StackPanel Visibility="{Binding DataContext.loaded, ConverterParameter=1, Converter={StaticResource boolvisConverter}, ElementName=predictPage}">
                        <TextBlock Text="週日、周一能源局不更新國際油價資訊，預測暫停" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10" Visibility="{Binding DataContext.predictpause, ConverterParameter=1, Converter={StaticResource boolvisConverter}, ElementName=predictPage}"/>
                        <StackPanel Orientation="Horizontal" Visibility="{Binding DataContext.predictpause, ConverterParameter=0, Converter={StaticResource boolvisConverter}, ElementName=predictPage}" HorizontalAlignment="Left" VerticalAlignment="Center">
                            <StackPanel Margin="10,10,50,10">
                                <TextBlock Text="汽油價格預測" FontSize="28"/>
                            </StackPanel>
                            <Grid Width="10" Height="10" Margin="5,5,5,30" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.pprice, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=predictPage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.pprice, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=predictPage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill" HorizontalAlignment="Center" VerticalAlignment="Center">
                                    <Path.RenderTransform>
                                        <RotateTransform Angle="180"/>
                                    </Path.RenderTransform>
                                </Path>
                                <Rectangle Fill="LightGray" Visibility="{Binding DataContext.pprice, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=predictPage}" HorizontalAlignment="Center" Height="7" Margin="179,36,0,0" VerticalAlignment="Center" Width="7"/>
                            </Grid>
                            <TextBlock HorizontalAlignment="Right" TextWrapping="Wrap" Text="{Binding DataContext.pprice, Converter={StaticResource priceConverter}, ElementName=predictPage, StringFormat=\{0:N1\}}" FontSize="45" Foreground="{Binding DataContext.pprice, Converter={StaticResource colorConverter}, ElementName=predictPage}" TextAlignment="Right" />
                        </StackPanel>
                            <StackPanel Orientation="Horizontal" Visibility="{Binding DataContext.predictpause, ConverterParameter=0, Converter={StaticResource boolvisConverter}, ElementName=predictPage}" HorizontalAlignment="Left" VerticalAlignment="Center">
                                <StackPanel Margin="10,10,50,10">
                                    <TextBlock Text="柴油價格預測" FontSize="28"/>
                                </StackPanel>
                                <Grid Width="10" Height="10" Margin="5,5,5,30" HorizontalAlignment="Center" VerticalAlignment="Center">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.pdprice, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=predictPage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.pdprice, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=predictPage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill" HorizontalAlignment="Center" VerticalAlignment="Center">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.pdprice, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=predictPage}" HorizontalAlignment="Center" Height="7" Margin="179,36,0,0" VerticalAlignment="Center" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Right" TextWrapping="Wrap" Text="{Binding DataContext.pdprice, Converter={StaticResource priceConverter}, ElementName=predictPage, StringFormat=\{0:N1\}}" FontSize="45" Foreground="{Binding DataContext.pdprice, Converter={StaticResource colorConverter}, ElementName=predictPage}" TextAlignment="Right" />
                            </StackPanel>
                        </StackPanel>
                    <Border BorderThickness="0,0,0,1" BorderBrush="Black" Margin="0,3">
                        <TextBlock Text="開發者公告" FontSize="26"/>
                    </Border>
                    <ItemsControl x:Name="DCBulletin" ItemsSource="{Binding DataContext.feedlist, ElementName=DCBulletin}" ItemTemplate="{Binding Source={StaticResource DCitem}}" ItemsPanel="{Binding Source={StaticResource bulletinHolder}}">
                        <ItemsControl.DataContext>
                            <libViewModels:dcViewModel/>
                        </ItemsControl.DataContext>
                    </ItemsControl>
                </StackPanel>
                </ScrollViewer>
            </phone:PanoramaItem>
            <phone:PanoramaItem x:Name="predictPage" Background="#4CFFFFFF">
                <phone:PanoramaItem.Header>
                    <TextBlock Text="油價預測" FontSize="45" Margin="0,5,0,0"/>
                </phone:PanoramaItem.Header>
                <phone:PanoramaItem.DataContext>
                    <libViewModels:ppViewModel/>
                </phone:PanoramaItem.DataContext>
                <Grid HorizontalAlignment="Left" Height="849" Margin="0,-40,0,-19" VerticalAlignment="Top" Width="413">
                    <StackPanel x:Name="forcastbulletin" HorizontalAlignment="Left" VerticalAlignment="Top" Width="403">
                        <TextBlock Text="載入中" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10" Visibility="{Binding DataContext.loaded, ConverterParameter=0, Converter={StaticResource boolvisConverter}, ElementName=predictPage}"/>
                        <ScrollViewer Visibility="{Binding DataContext.loaded, ConverterParameter=1, Converter={StaticResource boolvisConverter}, ElementName=predictPage}">
                            <StackPanel>
                            <TextBlock TextWrapping="Wrap" Text="計算週期" FontSize="24" Margin="5,10,0,0"/>
                            <StackPanel Orientation="Horizontal" Margin="100,0,0,0" Visibility="{Binding DataContext.predictpause, ConverterParameter=0, Converter={StaticResource boolvisConverter}, ElementName=predictPage}" >
                                <TextBlock Text="{Binding DataContext.pstartdate, Converter={StaticResource dateConverter}, ElementName=predictPage, StringFormat=\{0:d\}}" FontSize="21.333"/>
                                <TextBlock Text="至" Margin="5,0"/>
                                <TextBlock Text="{Binding DataContext.penddate, Converter={StaticResource dateConverter}, ElementName=predictPage, StringFormat=\{0:d\}}" FontSize="21.333"/>
                            </StackPanel>
                            <TextBlock  Foreground="#FFE40000" Text="{Binding DataContext.predictpause, Converter={StaticResource predictpausetextConverter}, ElementName=predictPage}" Visibility="{Binding DataContext.predictpause, ConverterParameter=1, Converter={StaticResource boolvisConverter}, ElementName=predictPage}" Margin="0"/>
                            <StackPanel>
                                    <Border BorderThickness="0,0,0,1" BorderBrush="Black" Margin="0,3">
                                        <TextBlock Text="汽油價格預測" FontSize="26"/>
                                    </Border>
                                    <StackPanel Margin="5" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <Grid Height="40" Width="40" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center">
                                    <Path Data="F1M0,29.898L34.523,29.898 17.262,0z" Fill="Red" UseLayoutRounding="False" Visibility="{Binding DataContext.pprice, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=predictPage}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <Path Data="F1M0,29.898L34.523,29.898 17.262,0z" Fill="#FF46DE46" UseLayoutRounding="False" Visibility="{Binding DataContext.pprice, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=predictPage}" HorizontalAlignment="Center" VerticalAlignment="Center">
                                        <Path.RenderTransform>
                                            <CompositeTransform ScaleY="-1"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="#FFD1D1D1" HorizontalAlignment="Center" Height="24" VerticalAlignment="Center" Width="24" Visibility="{Binding DataContext.pprice, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=predictPage}"/>
                                </Grid>
                                <TextBlock FontSize="120"  Text="{Binding DataContext.pprice, Converter={StaticResource priceConverter}, ElementName=predictPage, StringFormat=\{0:N1\}}" TextAlignment="Center" Foreground="{Binding DataContext.pprice, Converter={StaticResource colorConverter}, ElementName=predictPage}"/>
                            </StackPanel>
                                    <Border BorderThickness="0,0,0,1" BorderBrush="Black" Margin="0,3">
                                        <TextBlock Text="柴油價格預測" FontSize="26"/>
                                    </Border>
                                    <StackPanel Margin="5" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <Grid Height="40" Width="40" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center">
                                    <Path Data="F1M0,29.898L34.523,29.898 17.262,0z" Fill="Red" UseLayoutRounding="False" Visibility="{Binding DataContext.pdprice, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=predictPage}"/>
                                    <Path Data="F1M0,29.898L34.523,29.898 17.262,0z" Fill="#FF46DE46" UseLayoutRounding="False" Visibility="{Binding DataContext.pdprice, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=predictPage}">
                                        <Path.RenderTransform>
                                            <CompositeTransform ScaleY="-1"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="#FFD1D1D1" HorizontalAlignment="Left" Height="24" VerticalAlignment="Top" Width="24" Visibility="{Binding DataContext.pdprice, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=predictPage}"/>
                                </Grid>
                                <TextBlock FontSize="120"  Text="{Binding DataContext.pdprice, Converter={StaticResource priceConverter}, ElementName=predictPage, StringFormat=\{0:N1\}}" TextAlignment="Center" Foreground="{Binding DataContext.pdprice, Converter={StaticResource colorConverter}, ElementName=predictPage}"/>
                            </StackPanel>
                            </StackPanel>
                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                                <StackPanel Margin="5">
                                    <Border Background="#FFEEEEEE" Padding="5,2">
                                        <TextBlock Text="本周國際均價" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    </Border>
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition Height="Auto"/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto"/>
                                            <ColumnDefinition Width="Auto"/>
                                        </Grid.ColumnDefinitions>
                                        <Border BorderThickness="5,0,0,0" BorderBrush="#FFB2B2B2" Margin="3" Padding="3" Grid.Column="0" Grid.Row="0">
                                            <TextBlock Text="布蘭特"/>
                                        </Border>
                                        <Border BorderThickness="5,0,0,0" BorderBrush="#FFB2B2B2" Margin="3" Padding="3" Grid.Column="0" Grid.Row="1">
                                            <TextBlock Text="杜拜"/>
                                        </Border>
                                        <Border BorderThickness="5,0,0,0" BorderBrush="#FFB2B2B2" Margin="3" Padding="3" Grid.Column="0" Grid.Row="2">
                                            <TextBlock Text="匯率"/>
                                        </Border>
                                        <TextBlock Grid.Column="1" Grid.Row="0" Text="{Binding DataContext.currentbrent, Converter={StaticResource priceConverter}, ElementName=predictPage}" HorizontalAlignment="Right" Margin="20,0,0,0" VerticalAlignment="Center"/>
                                        <TextBlock Grid.Column="1" Grid.Row="1" Text="{Binding DataContext.currentdubai, Converter={StaticResource priceConverter}, ElementName=predictPage}" HorizontalAlignment="Right" Margin="20,0,0,0" VerticalAlignment="Center"/>
                                        <TextBlock Grid.Column="1" Grid.Row="2" Text="{Binding DataContext.currentcurrency, Converter={StaticResource priceConverter}, ElementName=predictPage}" HorizontalAlignment="Right" VerticalAlignment="Center"/>
                                    </Grid>
                                </StackPanel>
                                <StackPanel Margin="5">
                                    <Border Background="#FFEEEEEE" Padding="5,2">
                                        <TextBlock Text="上周國際均價" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    </Border>
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition Height="Auto"/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto"/>
                                            <ColumnDefinition Width="Auto"/>
                                        </Grid.ColumnDefinitions>
                                        <Border BorderThickness="5,0,0,0" BorderBrush="#FFB2B2B2" Margin="3" Padding="3" Grid.Column="0" Grid.Row="0">
                                            <TextBlock Text="布蘭特"/>
                                        </Border>
                                        <Border BorderThickness="5,0,0,0" BorderBrush="#FFB2B2B2" Margin="3" Padding="3" Grid.Column="0" Grid.Row="1">
                                            <TextBlock Text="杜拜"/>
                                        </Border>
                                        <Border BorderThickness="5,0,0,0" BorderBrush="#FFB2B2B2" Margin="3" Padding="3" Grid.Column="0" Grid.Row="2">
                                            <TextBlock Text="匯率"/>
                                        </Border>
                                        <TextBlock Grid.Column="1" Grid.Row="0" Text="{Binding DataContext.pastbrent, Converter={StaticResource priceConverter}, ElementName=predictPage}" HorizontalAlignment="Right" Margin="20,0,0,0" VerticalAlignment="Center"/>
                                        <TextBlock Grid.Column="1" Grid.Row="1" Text="{Binding DataContext.pastdubai, Converter={StaticResource priceConverter}, ElementName=predictPage}" HorizontalAlignment="Right" Margin="20,0,0,0" VerticalAlignment="Center"/>
                                        <TextBlock Grid.Column="1" Grid.Row="2" Text="{Binding DataContext.pastcurrency, Converter={StaticResource priceConverter}, ElementName=predictPage}" HorizontalAlignment="Right" VerticalAlignment="Center"/>
                                    </Grid>
                                </StackPanel>
                            </StackPanel>
                            <TextBlock TextWrapping="Wrap" Text="公式：下周92價格=本周92價格+本周92價格×((本周杜拜均價×0.7+本周布蘭特均價×0.3)×本周匯率均價-上周國際油價（算法同本周）)÷上周國際油價×0.8" FontSize="16" Foreground="#FF515151" Margin="5,5,5,0"/>
                            <TextBlock TextWrapping="Wrap" Text="本程式依照能源局公告之國際油價、匯率並依照中油浮動油價公式計算油價漲跌幅，若與中油最後參考鄰國油價等多重因素調整結果不同，一切依中油公司公告為準" FontSize="16" Margin="5" Foreground="#FF898989"/>
                        </StackPanel>
                        </ScrollViewer>
                    </StackPanel>
                </Grid>
            </phone:PanoramaItem>

            <!--目前價格-->
            <phone:PanoramaItem x:Name="currentpricePage" Background="#4CFFFFFF" FontFamily="Portable User Interface">
                <phone:PanoramaItem.Header>
                    <TextBlock Text="本周價格" FontSize="45" Margin="0,5,0,0"/>
                </phone:PanoramaItem.Header>
                <phone:PanoramaItem.DataContext>
                    <libViewModels:cpViewModel/>
                </phone:PanoramaItem.DataContext>
                <StackPanel Margin="0,-40,0,0">
                    <StackPanel Orientation="Horizontal" Margin="0">
                        <Grid Height="50.019" Margin="5,-5,5,5" Width="50">
                            <Path Data="F1M50,25.008C50,11.206 38.807,0 25.006,0 11.193,0 0,11.206 0,25.008 0,37.456 9.096,47.779 21.004,49.692L21.004,48.357C9.835,46.459 1.321,36.728 1.321,25.008 1.321,11.921 11.921,1.321 25.006,1.321 38.08,1.321 48.69,11.921 48.69,25.008 48.69,36.909 39.911,46.759 28.475,48.44L28.475,49.769C40.638,48.078,50,37.637,50,25.008" Fill="#FF134E8B" Margin="0,0,0,0.25"/>
                            <Path Data="F1M44.348,22.173C44.348,9.933 34.429,0 22.181,0 9.931,0 0,9.933 0,22.173 0,33.065 7.859,42.121 18.202,43.993L18.202,42.453C8.694,40.602 1.515,32.227 1.515,22.173 1.515,10.757 10.769,1.517 22.181,1.517 33.592,1.517 42.845,10.757 42.845,22.173 42.845,32.383 35.436,40.861 25.709,42.535L25.709,44.068C36.272,42.378,44.348,33.22,44.348,22.173" Fill="#FF134E8B" Margin="2.741,2.813,2.911,3.138"/>
                            <Path Data="F1M38.297,19.153C38.297,8.574 29.723,0 19.149,0 8.574,0 0,8.574 0,19.153 0,28.368 6.5,36.062 15.17,37.891L15.17,36.343C7.349,34.542 1.503,27.529 1.503,19.153 1.503,9.41 9.41,1.516 19.149,1.516 28.886,1.516 36.781,9.41 36.781,19.153 36.781,27.687 30.729,34.806 22.677,36.439L22.677,37.979C31.567,36.323,38.297,28.526,38.297,19.153" Fill="#FF134E8B" Margin="5.773,5.833,5.93,6.207"/>
                            <Path Data="F1M13.195,3.467C13.195,3.467,10.842,2.208,7.592,2.104L7.592,1.367C9.301,1.413 11.242,1.761 13.329,2.667 13.57,2.77 13.195,3.467 13.195,3.467 M1.153,3.646L0.837,2.889C0.837,2.889,3.166,1.481,6.756,1.367L6.756,2.106C5.021,2.162,3.093,2.568,1.153,3.646 M7.592,0.736L7.592,0 6.756,0 6.756,0.753C2.79,0.946 0,2.712 0,2.712 0,2.712 0.862,4.528 1.153,4.401 3.602,3.334 5.228,2.795 6.756,2.689L6.756,3.912 7.592,3.912 7.592,2.673C9.205,2.728 10.854,3.252 13.413,4.134 13.68,4.224 14.128,2.445 14.128,2.445 11.824,1.199 9.593,0.754 7.592,0.736" Fill="#FF134E8B" Margin="17.547,26.008,18.325,19.604"/>
                            <Path Data="F1M9.067,0C9.067,0 6.569,2.584 6.835,4.888 6.921,5.591 6.933,7.374 6.132,8.089 5.841,8.344 4.373,5.785 2.312,6.04 2.312,6.489 4.798,7.64 2.13,10.312 1.609,10.742 -3.121,17.334 3.464,18.046 3.853,18.089 -0.72,16 3.816,11.735 4.083,11.484 3.998,16.454 8.352,16.454 9.419,16.454 12.256,15.023 11.88,12.001 12.354,11.646 17.422,15.29 12.887,17.869 12.887,17.869 14.39,18.224 15.822,16.979 17.435,15.561 18.502,12.912 14.306,9.338 14.306,9.338 15.022,7.738 14.39,6.573 14.149,6.125 14.221,4.621 14.39,4.184 14.573,3.735 13.505,5.155 13.59,6.04 13.688,6.937 12.354,8.004 11.88,7.823 11.528,7.688 12.887,6.937 9.686,3.651 9.128,3.068 8.303,1.505 9.067,0" Fill="#FFEC1C23" Margin="16.57,8.985,16.184,22.987"/>
                            <Path Data="F1M0.379,0.001C0.379,0.001 0.514,2.622 2.429,3.778 2.55,3.851 -1.173,3.156 0.379,0.001" Fill="#FFEC1C23" Margin="19.691,22.364,27.877,23.873"/>
                            <Path Data="F1M2.33,0C2.559,0.156 3.408,3.356 0.013,3.778 -0.181,3.803 1.977,3.045 2.33,0" Fill="#FFEC1C23" Margin="27.116,22.43,20.292,23.81"/>
                            <Path Data="F1M1.357,0C1.357,0 1.746,2.996 1.866,3.29 2.049,3.705 0.569,2.49 0,0.444 0.181,0.237 1.357,0 1.357,0" Fill="#FF134E8B" Margin="19.586,30.32,28.532,16.328"/>
                            <Path Data="F1M0,0.149L1.213,0 1.273,4C1.273,4 1.929,4.296 2.935,4.348 3.02,4.354 2.874,12.712 2.874,12.712L2.377,12.683 2.159,4.918C2.159,4.918 0.655,4.711 0.268,4.268 0.134,4.117 0,0.149 0,0.149" Fill="#FF134E8B" Margin="21.987,29.905,25.051,7.402"/>
                            <Path Data="F1M2.729,2.6C2.438,2.455,2.123,2.342,1.832,2.254L1.893,1.369C2.245,1.446 2.632,1.559 3.068,1.723 3.068,1.723 3.08,2.092 2.729,2.6 M1.723,3.539L1.795,2.701C2.062,2.79 2.293,2.887 2.438,2.954 2.256,3.142 2.026,3.34 1.723,3.539 M0.534,2.475C0.789,2.476 1.043,2.511 1.273,2.56 1.237,3.046 1.177,3.543 1.079,3.92 0.934,3.996 0.776,4.07 0.607,4.146 0.559,4.165 0.534,3.282 0.534,2.475 M0.534,1.191C0.534,1.191 0.837,1.185 1.334,1.261 1.334,1.491 1.322,1.793 1.298,2.12 0.982,2.05 0.704,2.009 0.534,1.989z M1.953,0.874L1.965,0.086C1.965,0.086 1.443,0 1.383,0 1.395,0.124 1.371,0.434 1.359,0.679 0.995,0.646 0.098,0.545 0,0.545 0.061,0.96 0.012,4.828 0.012,4.828 0.012,4.828 3.215,4.115 3.979,1.449 4.014,1.33 1.953,0.874 1.953,0.874" Fill="#FF134E8B" Margin="25.564,29.819,20.457,15.372"/>
                            <Path Data="F1M0,0L0.691,0 0.691,3.022 0,3.022z" Fill="#FF134E8B" Margin="23.963,30.409,25.346,16.588"/>
                            <Path Data="M0.982,2.555C0.894,2.812 0.987,2.873 1.209,2.872 2.313,2.864 3.418,2.864 4.522,2.872 4.772,2.873 4.834,2.786 4.744,2.555z M4.749,1.929C4.837,1.674 4.742,1.613 4.522,1.615 3.418,1.622 2.314,1.622 1.21,1.615 0.965,1.613 0.893,1.694 0.984,1.929z M0.96,0.947L4.782,0.947C4.776,0.837,4.771,0.75,4.766,0.667L0.96,0.667z M4.782,4.183L4.012,4.183C3.997,4.157 3.982,4.142 3.981,4.126 3.944,3.595 3.944,3.595 3.395,3.595 3.017,3.595 2.639,3.595 2.261,3.595 1.824,3.596 1.818,3.602 1.799,4.038 1.797,4.082 1.789,4.126 1.783,4.182L0.993,4.182C0.981,4.155 0.959,4.123 0.954,4.09 0.889,3.612 0.89,3.612 0.383,3.608 0.029,3.606 0.003,3.583 0.003,3.232 0.002,2.274 0.008,1.316 0,0.358 -0.003,0.096 0.09,-0.002 0.355,0 2.032,0.007 3.709,0.003 5.386,0.004 5.716,0.004 5.752,0.04 5.753,0.369 5.754,1.328 5.754,2.286 5.753,3.244 5.752,3.58 5.724,3.605 5.39,3.608 5.335,3.609 5.28,3.608 5.224,3.609 4.855,3.612 4.834,3.632 4.812,3.988 4.808,4.05 4.794,4.111 4.782,4.183" Fill="#FFEC1C23" Margin="21.843,45.836,22.403,0"/>
                            <Path Data="M0.001,0L0.711,0C0.735,0.244 0.893,0.285 1.113,0.28 1.693,0.267 2.272,0.274 2.852,0.276 3.205,0.277 3.286,0.361 3.292,0.718 3.293,0.773 3.292,0.828 3.292,0.884 3.292,1.558 3.293,1.552 2.611,1.536 2.441,1.532 2.37,1.475 2.393,1.312 2.433,1.031 2.293,0.969 2.041,0.974 1.48,0.988 0.918,0.979 0.357,0.979 0.022,0.978 0.003,0.957 0.001,0.612 0,0.42 0.001,0.228 0.001,0" Fill="#FFEC1C23" Margin="24.223,43.245,22.485,5.234"/>
                            <Path Data="M3.299,1.175C2.943,1.175 2.648,1.196 2.357,1.165 2.225,1.152 2.093,1.049 1.977,0.964 1.746,0.794 1.508,0.77 1.297,0.963 0.905,1.321 0.456,1.132 0.03,1.168 0.02,1.145 0.01,1.121 0,1.098 0.158,0.98 0.315,0.861 0.474,0.745 0.795,0.511 1.109,0.269 1.441,0.054 1.527,-0.001 1.704,-0.021 1.78,0.029 2.261,0.353 2.727,0.701 3.196,1.043 3.223,1.062 3.238,1.095 3.299,1.175" Fill="#FFEC1C23" Margin="23.863,44.327,22.838,4.506"/>
                            <Path Data="M0,0L1.751,0 1.751,0.655 0,0.655z" Fill="#FFEC1C23" Margin="21.84,43.554,26.409,5.81"/>
                            <Path Data="M1.664,0C1.749,0.224 1.82,0.41 1.895,0.608 1.826,0.639 1.779,0.664 1.729,0.68 1.237,0.846 0.745,1.011 0.224,1.184 0.149,0.978 0.082,0.792 0,0.566 0.555,0.378 1.094,0.194 1.664,0" Fill="#FFEC1C23" Margin="21.874,44.499,26.231,4.336"/>
                        </Grid>
                        <StackPanel Margin="0,5,0,0">
                            <TextBlock Text="中油" FontSize="27"/>
                            <TextBlock TextWrapping="Wrap" Text="{Binding DataContext.CPCcurrentDate, Converter={StaticResource dateConverter}, ElementName=currentpricePage, StringFormat=\{0:d\}}" FontSize="17.333" Foreground="{Binding CPCcurrentDate, Converter={StaticResource datecolorConverter}}" HorizontalAlignment="Left" TextAlignment="Right" Width="107"/>
                        </StackPanel>
                        <StackPanel Width="70" Margin="90,0,0,0">
                            <TextBlock Text="汽油" FontSize="14" Foreground="#FF888888"/>
                            <StackPanel Orientation="Horizontal">
                                <Grid Width="10" Height="10">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.CPC95Change, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.CPC95Change, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.CPC95Change, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" Height="7" Margin="179,36,0,0" VerticalAlignment="Top" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Right" TextWrapping="Wrap" Text="{Binding DataContext.CPC95Change, Converter={StaticResource priceConverter}, ElementName=currentpricePage, StringFormat=\{0:N1\}}" FontSize="45" Foreground="{Binding DataContext.CPC95Change, Converter={StaticResource colorConverter}, ElementName=currentpricePage}" TextAlignment="Right" />
                            </StackPanel>
                        </StackPanel>
                        <StackPanel Width="70" Margin="10,0,0,0">
                            <TextBlock Text="柴油" Margin="0" FontSize="14" Foreground="#FF888888"/>
                            <StackPanel Orientation="Horizontal">
                                <Grid Width="10" Height="10">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.CPCdieselChange, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.CPCdieselChange, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.CPCdieselChange, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" Height="7" VerticalAlignment="Top" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.CPCdieselChange, Converter={StaticResource priceConverter}, ElementName=currentpricePage, StringFormat=\{0:N1\}}" FontSize="45" TextAlignment="Right" Foreground="{Binding DataContext.CPCdieselChange, Converter={StaticResource colorConverter}, ElementName=currentpricePage}"/>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                    <TextBlock Text="資料載入中" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10" FontFamily="Portable User Interface" Visibility="{Binding DataContext.currentcount, ConverterParameter=0, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                    <ItemsControl x:Name="CPCitems" ItemsSource="{Binding Source={StaticResource CPCcollection}}" ItemTemplate="{Binding Source={StaticResource bulletinItem}}" ItemsPanel="{Binding Source={StaticResource bulletinHolder}}" Margin="0" Visibility="{Binding DataContext.currentcount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                    <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
                        <Grid Height="50" Canvas.Left="84.937" Margin="5,-5,5,5" Width="50">
                            <Path Data="F1M0,25L25,25 25,0 0,0z" Fill="Black" Margin="25,0,0,25"/>
                            <Path Data="F1M0,25L25,25 25,0 0,0z" Fill="#FFEAE71E" Margin="0,0,25,25"/>
                            <Path Data="F1M0,25L25,25 25,0 0,0z" Fill="#FF0084CC" Margin="0,25,25,0"/>
                            <Path Data="F1M0,25L25,25 25,0 0,0z" Fill="#FFEC2D3D" Margin="25,25,0,0"/>
                            <Path Data="M18.16,12.69C16.137,17.704 12.27,19.084 7.437,18.264 3.506,17.595 1.473,14.848 0.335,11.341 -0.741,8.032 0.866,3.941 3.899,1.799 6.962,-0.367 12.45,-0.676 14.878,1.416 17.12,3.35 18.214,5.833 16.567,8.688 15.183,11.084 12.843,11.409 9.575,9.922 9.644,9.698 9.644,9.354 9.794,9.264 11.256,8.409 12.744,7.593 14.225,6.768 13.071,5.605 12.09,3.77 10.728,3.423 8.017,2.734 5.538,4.306 5.307,7.012 5.123,9.18 5.814,12.572 7.293,13.461 9.405,14.728 12.594,14.375 15.32,14.355 16.27,14.347 17.213,13.276 18.16,12.69" Fill="#FFFE2834" Margin="3.563,3.475,28.277,28.041"/>
                            <Path Data="M13.887,8.489C15.603,8.054 17.255,7.638 18.991,7.2 19.223,13.265 13.429,19.495 8.027,19.439 3.322,19.391 -0.587,14.939 0.073,9.819 0.413,7.172 1.573,4.601 2.581,2.083 2.916,1.249 3.931,0.686 4.636,0 5.142,0.922 5.749,1.805 6.117,2.779 6.37,3.448 6.291,4.241 6.417,5.581 8.649,3.925 10.538,2.521 13.452,0.358 13.616,3.401 13.745,5.834 13.887,8.489" Fill="#FFFADE11" Margin="28.704,27.953,2.298,2.608"/>
                            <Path Data="M15.513,19.179C12.593,17.36 10.448,15.114 8.034,14.777 5.631,14.445 2.962,16.03 0,16.049 1.847,14.346 3.694,12.643 5.792,10.708 5.258,9.88 4.694,9.005 3.936,7.827 5.582,7.641 6.919,7.489 8.676,7.289 6.675,4.834 4.861,2.611 2.74,0.007 8.034,-0.29 12.518,8.292 17.896,0.605 17.776,2.394 17.656,4.184 17.535,5.986 19.548,7.024 21.481,8.023 24.526,9.596 18.583,10.605 14.368,12.512 15.513,19.179" Fill="#FFF9E007" Margin="0.907,28.848,24.567,1.972"/>
                            <Path Data="M8.046,14.396C11.315,14.297 14.182,11.235 14.037,7.994 13.897,4.807 11.196,2.32 7.902,2.344 4.365,2.371 1.866,5.016 1.997,8.594 2.113,11.732 4.985,14.489 8.046,14.396 M15.741,8.496C15.721,13.121 12.508,16.448 8.08,16.427 3.621,16.406 -0.039,12.719 0.001,8.287 0.042,3.963 3.917,-0.012 8.08,0 12.514,0.012 15.764,3.616 15.741,8.496" Fill="White" Margin="29.972,4.526,4.288,29.047"/>
                            <Path Data="M6.054,12.052C2.993,12.145 0.121,9.388 0.005,6.25 -0.126,2.672 2.373,0.027 5.91,0 9.204,-0.024 11.905,2.463 12.045,5.65 12.19,8.891 9.323,11.953 6.054,12.052" Fill="#FF0082D1" Margin="31.964,6.87,5.986,31.076"/>
                        </Grid>
                        <StackPanel Margin="0,5,0,0">
                            <TextBlock Text="台塑" FontSize="27"/>
                            <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.FPCCcurrentDate, Converter={StaticResource dateConverter}, ElementName=currentpricePage, StringFormat=\{0:d\}}" Width="107" FontSize="17.333" Foreground="{Binding DataContext.FPCCcurrentDate, Converter={StaticResource datecolorConverter}, ElementName=currentpricePage}" TextAlignment="Right"/>
                        </StackPanel>
                        <StackPanel Width="70" Margin="90,0,0,0">
                            <TextBlock Text="汽油" FontSize="14" Foreground="#FF888888"/>
                            <StackPanel Orientation="Horizontal">
                                <Grid Width="10" Height="10">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" Height="7" VerticalAlignment="Top" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.FPCC95Change, Converter={StaticResource priceConverter}, ElementName=currentpricePage, StringFormat=\{0:N1\}}" FontSize="45" TextAlignment="Right" Foreground="{Binding DataContext.FPCC95Change, Converter={StaticResource colorConverter}, ElementName=currentpricePage}" />
                            </StackPanel>
                        </StackPanel>
                        <StackPanel Width="70" Margin="10,0,0,0">
                            <TextBlock Text="柴油" Margin="0" FontSize="14" Foreground="#FF888888"/>
                            <StackPanel Orientation="Horizontal">
                                <Grid Width="10" Height="10">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" Height="7" VerticalAlignment="Top" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.FPCCdieselChange, Converter={StaticResource priceConverter}, ElementName=currentpricePage, StringFormat=\{0:N1\}}" FontSize="45" TextAlignment="Right" Foreground="{Binding DataContext.FPCCdieselChange, Converter={StaticResource colorConverter}, ElementName=currentpricePage}"/>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                    <TextBlock Text="資料載入中" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10" Visibility="{Binding DataContext.currentcount, ConverterParameter=0, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                    <ItemsControl x:Name="FPCCitems" ItemsSource="{Binding Source={StaticResource FPCCcollection}}" ItemTemplate="{Binding Source={StaticResource bulletinItem}}" ItemsPanel="{Binding Source={StaticResource bulletinHolder}}" Margin="0" Visibility="{Binding DataContext.currentcount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                </StackPanel>
            </phone:PanoramaItem>

            <!-- 儲存油價 -->
            <!-- <phone:PanoramaItem x:Name="savedpricePage" Background="#4CFFFFFF">
                <phone:PanoramaItem.Header>
                    <TextBlock Text="儲存的價格" FontSize="45" Margin="0,5,0,0"/>
                </phone:PanoramaItem.Header>
                <StackPanel Margin="0,-40,0,0">
                    <StackPanel Orientation="Horizontal" Margin="0">
                        <Grid Height="50.019" Margin="5" Width="50">
                            <Path Data="F1M50,25.008C50,11.206 38.807,0 25.006,0 11.193,0 0,11.206 0,25.008 0,37.456 9.096,47.779 21.004,49.692L21.004,48.357C9.835,46.459 1.321,36.728 1.321,25.008 1.321,11.921 11.921,1.321 25.006,1.321 38.08,1.321 48.69,11.921 48.69,25.008 48.69,36.909 39.911,46.759 28.475,48.44L28.475,49.769C40.638,48.078,50,37.637,50,25.008" Fill="#FF134E8B" Margin="0,0,0,0.25"/>
                            <Path Data="F1M44.348,22.173C44.348,9.933 34.429,0 22.181,0 9.931,0 0,9.933 0,22.173 0,33.065 7.859,42.121 18.202,43.993L18.202,42.453C8.694,40.602 1.515,32.227 1.515,22.173 1.515,10.757 10.769,1.517 22.181,1.517 33.592,1.517 42.845,10.757 42.845,22.173 42.845,32.383 35.436,40.861 25.709,42.535L25.709,44.068C36.272,42.378,44.348,33.22,44.348,22.173" Fill="#FF134E8B" Margin="2.741,2.813,2.911,3.138"/>
                            <Path Data="F1M38.297,19.153C38.297,8.574 29.723,0 19.149,0 8.574,0 0,8.574 0,19.153 0,28.368 6.5,36.062 15.17,37.891L15.17,36.343C7.349,34.542 1.503,27.529 1.503,19.153 1.503,9.41 9.41,1.516 19.149,1.516 28.886,1.516 36.781,9.41 36.781,19.153 36.781,27.687 30.729,34.806 22.677,36.439L22.677,37.979C31.567,36.323,38.297,28.526,38.297,19.153" Fill="#FF134E8B" Margin="5.773,5.833,5.93,6.207"/>
                            <Path Data="F1M13.195,3.467C13.195,3.467,10.842,2.208,7.592,2.104L7.592,1.367C9.301,1.413 11.242,1.761 13.329,2.667 13.57,2.77 13.195,3.467 13.195,3.467 M1.153,3.646L0.837,2.889C0.837,2.889,3.166,1.481,6.756,1.367L6.756,2.106C5.021,2.162,3.093,2.568,1.153,3.646 M7.592,0.736L7.592,0 6.756,0 6.756,0.753C2.79,0.946 0,2.712 0,2.712 0,2.712 0.862,4.528 1.153,4.401 3.602,3.334 5.228,2.795 6.756,2.689L6.756,3.912 7.592,3.912 7.592,2.673C9.205,2.728 10.854,3.252 13.413,4.134 13.68,4.224 14.128,2.445 14.128,2.445 11.824,1.199 9.593,0.754 7.592,0.736" Fill="#FF134E8B" Margin="17.547,26.008,18.325,19.604"/>
                            <Path Data="F1M9.067,0C9.067,0 6.569,2.584 6.835,4.888 6.921,5.591 6.933,7.374 6.132,8.089 5.841,8.344 4.373,5.785 2.312,6.04 2.312,6.489 4.798,7.64 2.13,10.312 1.609,10.742 -3.121,17.334 3.464,18.046 3.853,18.089 -0.72,16 3.816,11.735 4.083,11.484 3.998,16.454 8.352,16.454 9.419,16.454 12.256,15.023 11.88,12.001 12.354,11.646 17.422,15.29 12.887,17.869 12.887,17.869 14.39,18.224 15.822,16.979 17.435,15.561 18.502,12.912 14.306,9.338 14.306,9.338 15.022,7.738 14.39,6.573 14.149,6.125 14.221,4.621 14.39,4.184 14.573,3.735 13.505,5.155 13.59,6.04 13.688,6.937 12.354,8.004 11.88,7.823 11.528,7.688 12.887,6.937 9.686,3.651 9.128,3.068 8.303,1.505 9.067,0" Fill="#FFEC1C23" Margin="16.57,8.985,16.184,22.987"/>
                            <Path Data="F1M0.379,0.001C0.379,0.001 0.514,2.622 2.429,3.778 2.55,3.851 -1.173,3.156 0.379,0.001" Fill="#FFEC1C23" Margin="19.691,22.364,27.877,23.873"/>
                            <Path Data="F1M2.33,0C2.559,0.156 3.408,3.356 0.013,3.778 -0.181,3.803 1.977,3.045 2.33,0" Fill="#FFEC1C23" Margin="27.116,22.43,20.292,23.81"/>
                            <Path Data="F1M1.357,0C1.357,0 1.746,2.996 1.866,3.29 2.049,3.705 0.569,2.49 0,0.444 0.181,0.237 1.357,0 1.357,0" Fill="#FF134E8B" Margin="19.586,30.32,28.532,16.328"/>
                            <Path Data="F1M0,0.149L1.213,0 1.273,4C1.273,4 1.929,4.296 2.935,4.348 3.02,4.354 2.874,12.712 2.874,12.712L2.377,12.683 2.159,4.918C2.159,4.918 0.655,4.711 0.268,4.268 0.134,4.117 0,0.149 0,0.149" Fill="#FF134E8B" Margin="21.987,29.905,25.051,7.402"/>
                            <Path Data="F1M2.729,2.6C2.438,2.455,2.123,2.342,1.832,2.254L1.893,1.369C2.245,1.446 2.632,1.559 3.068,1.723 3.068,1.723 3.08,2.092 2.729,2.6 M1.723,3.539L1.795,2.701C2.062,2.79 2.293,2.887 2.438,2.954 2.256,3.142 2.026,3.34 1.723,3.539 M0.534,2.475C0.789,2.476 1.043,2.511 1.273,2.56 1.237,3.046 1.177,3.543 1.079,3.92 0.934,3.996 0.776,4.07 0.607,4.146 0.559,4.165 0.534,3.282 0.534,2.475 M0.534,1.191C0.534,1.191 0.837,1.185 1.334,1.261 1.334,1.491 1.322,1.793 1.298,2.12 0.982,2.05 0.704,2.009 0.534,1.989z M1.953,0.874L1.965,0.086C1.965,0.086 1.443,0 1.383,0 1.395,0.124 1.371,0.434 1.359,0.679 0.995,0.646 0.098,0.545 0,0.545 0.061,0.96 0.012,4.828 0.012,4.828 0.012,4.828 3.215,4.115 3.979,1.449 4.014,1.33 1.953,0.874 1.953,0.874" Fill="#FF134E8B" Margin="25.564,29.819,20.457,15.372"/>
                            <Path Data="F1M0,0L0.691,0 0.691,3.022 0,3.022z" Fill="#FF134E8B" Margin="23.963,30.409,25.346,16.588"/>
                            <Path Data="M0.982,2.555C0.894,2.812 0.987,2.873 1.209,2.872 2.313,2.864 3.418,2.864 4.522,2.872 4.772,2.873 4.834,2.786 4.744,2.555z M4.749,1.929C4.837,1.674 4.742,1.613 4.522,1.615 3.418,1.622 2.314,1.622 1.21,1.615 0.965,1.613 0.893,1.694 0.984,1.929z M0.96,0.947L4.782,0.947C4.776,0.837,4.771,0.75,4.766,0.667L0.96,0.667z M4.782,4.183L4.012,4.183C3.997,4.157 3.982,4.142 3.981,4.126 3.944,3.595 3.944,3.595 3.395,3.595 3.017,3.595 2.639,3.595 2.261,3.595 1.824,3.596 1.818,3.602 1.799,4.038 1.797,4.082 1.789,4.126 1.783,4.182L0.993,4.182C0.981,4.155 0.959,4.123 0.954,4.09 0.889,3.612 0.89,3.612 0.383,3.608 0.029,3.606 0.003,3.583 0.003,3.232 0.002,2.274 0.008,1.316 0,0.358 -0.003,0.096 0.09,-0.002 0.355,0 2.032,0.007 3.709,0.003 5.386,0.004 5.716,0.004 5.752,0.04 5.753,0.369 5.754,1.328 5.754,2.286 5.753,3.244 5.752,3.58 5.724,3.605 5.39,3.608 5.335,3.609 5.28,3.608 5.224,3.609 4.855,3.612 4.834,3.632 4.812,3.988 4.808,4.05 4.794,4.111 4.782,4.183" Fill="#FFEC1C23" Margin="21.843,45.836,22.403,0"/>
                            <Path Data="M0.001,0L0.711,0C0.735,0.244 0.893,0.285 1.113,0.28 1.693,0.267 2.272,0.274 2.852,0.276 3.205,0.277 3.286,0.361 3.292,0.718 3.293,0.773 3.292,0.828 3.292,0.884 3.292,1.558 3.293,1.552 2.611,1.536 2.441,1.532 2.37,1.475 2.393,1.312 2.433,1.031 2.293,0.969 2.041,0.974 1.48,0.988 0.918,0.979 0.357,0.979 0.022,0.978 0.003,0.957 0.001,0.612 0,0.42 0.001,0.228 0.001,0" Fill="#FFEC1C23" Margin="24.223,43.245,22.485,5.234"/>
                            <Path Data="M3.299,1.175C2.943,1.175 2.648,1.196 2.357,1.165 2.225,1.152 2.093,1.049 1.977,0.964 1.746,0.794 1.508,0.77 1.297,0.963 0.905,1.321 0.456,1.132 0.03,1.168 0.02,1.145 0.01,1.121 0,1.098 0.158,0.98 0.315,0.861 0.474,0.745 0.795,0.511 1.109,0.269 1.441,0.054 1.527,-0.001 1.704,-0.021 1.78,0.029 2.261,0.353 2.727,0.701 3.196,1.043 3.223,1.062 3.238,1.095 3.299,1.175" Fill="#FFEC1C23" Margin="23.863,44.327,22.838,4.506"/>
                            <Path Data="M0,0L1.751,0 1.751,0.655 0,0.655z" Fill="#FFEC1C23" Margin="21.84,43.554,26.409,5.81"/>
                            <Path Data="M1.664,0C1.749,0.224 1.82,0.41 1.895,0.608 1.826,0.639 1.779,0.664 1.729,0.68 1.237,0.846 0.745,1.011 0.224,1.184 0.149,0.978 0.082,0.792 0,0.566 0.555,0.378 1.094,0.194 1.664,0" Fill="#FFEC1C23" Margin="21.874,44.499,26.231,4.336"/>
                        </Grid>
                        <StackPanel>
                            <TextBlock Text="中油" FontSize="27"/>
                            <TextBlock TextWrapping="Wrap" Text="{Binding DataContext.CPCsavedDate, Converter={StaticResource dateConverter}, ElementName=currentpricePage, StringFormat=\{0:d\}}" FontSize="17.333" Foreground="{Binding DataContext.CPCsavedDate, Converter={StaticResource datecolorConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" TextAlignment="Right" Width="107"/>
                        </StackPanel>
                        <StackPanel Width="70" Margin="90,0,0,0">
                            <TextBlock Text="汽油" FontSize="14" Foreground="#FF888888"/>
                            <StackPanel Orientation="Horizontal">
                                <Grid Width="10" Height="10">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" Height="7" VerticalAlignment="Top" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.FPCC95Change, Converter={StaticResource priceConverter}, ElementName=currentpricePage, StringFormat=\{0:N1\}}" FontSize="45" TextAlignment="Right" Foreground="{Binding DataContext.FPCC95Change, Converter={StaticResource colorConverter}, ElementName=currentpricePage}" />
                            </StackPanel>
                        </StackPanel>
                        <StackPanel Width="70" Margin="10,0,0,0">
                            <TextBlock Text="柴油" Margin="0" FontSize="14" Foreground="#FF888888"/>
                            <StackPanel Orientation="Horizontal">
                                <Grid Width="10" Height="10">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" Height="7" VerticalAlignment="Top" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.FPCCdieselChange, Converter={StaticResource priceConverter}, ElementName=currentpricePage, StringFormat=\{0:N1\}}" FontSize="45" TextAlignment="Right" Foreground="{Binding DataContext.FPCCdieselChange, Converter={StaticResource colorConverter}, ElementName=currentpricePage}"/>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                    <TextBlock Text="請至「目前油價」中按下方油槍按鈕儲存本次油價" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10" Visibility="{Binding DataContext.savedcount, ConverterParameter=0, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                    <ItemsControl x:Name="SAVEDCPCitems" ItemsSource="{Binding Source={StaticResource SAVEDCPCcollection}}" ItemTemplate="{Binding Source={StaticResource savedItem}}" ItemsPanel="{Binding Source={StaticResource bulletinHolder}}" Margin="0" Visibility="{Binding DataContext.savedcount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                    <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
                        <Grid Height="50" Canvas.Left="84.937" Margin="5" Width="50">
                            <Path Data="F1M0,25L25,25 25,0 0,0z" Fill="Black" Margin="25,0,0,25"/>
                            <Path Data="F1M0,25L25,25 25,0 0,0z" Fill="#FFEAE71E" Margin="0,0,25,25"/>
                            <Path Data="F1M0,25L25,25 25,0 0,0z" Fill="#FF0084CC" Margin="0,25,25,0"/>
                            <Path Data="F1M0,25L25,25 25,0 0,0z" Fill="#FFEC2D3D" Margin="25,25,0,0"/>
                            <Path Data="M18.16,12.69C16.137,17.704 12.27,19.084 7.437,18.264 3.506,17.595 1.473,14.848 0.335,11.341 -0.741,8.032 0.866,3.941 3.899,1.799 6.962,-0.367 12.45,-0.676 14.878,1.416 17.12,3.35 18.214,5.833 16.567,8.688 15.183,11.084 12.843,11.409 9.575,9.922 9.644,9.698 9.644,9.354 9.794,9.264 11.256,8.409 12.744,7.593 14.225,6.768 13.071,5.605 12.09,3.77 10.728,3.423 8.017,2.734 5.538,4.306 5.307,7.012 5.123,9.18 5.814,12.572 7.293,13.461 9.405,14.728 12.594,14.375 15.32,14.355 16.27,14.347 17.213,13.276 18.16,12.69" Fill="#FFFE2834" Margin="3.563,3.475,28.277,28.041"/>
                            <Path Data="M13.887,8.489C15.603,8.054 17.255,7.638 18.991,7.2 19.223,13.265 13.429,19.495 8.027,19.439 3.322,19.391 -0.587,14.939 0.073,9.819 0.413,7.172 1.573,4.601 2.581,2.083 2.916,1.249 3.931,0.686 4.636,0 5.142,0.922 5.749,1.805 6.117,2.779 6.37,3.448 6.291,4.241 6.417,5.581 8.649,3.925 10.538,2.521 13.452,0.358 13.616,3.401 13.745,5.834 13.887,8.489" Fill="#FFFADE11" Margin="28.704,27.953,2.298,2.608"/>
                            <Path Data="M15.513,19.179C12.593,17.36 10.448,15.114 8.034,14.777 5.631,14.445 2.962,16.03 0,16.049 1.847,14.346 3.694,12.643 5.792,10.708 5.258,9.88 4.694,9.005 3.936,7.827 5.582,7.641 6.919,7.489 8.676,7.289 6.675,4.834 4.861,2.611 2.74,0.007 8.034,-0.29 12.518,8.292 17.896,0.605 17.776,2.394 17.656,4.184 17.535,5.986 19.548,7.024 21.481,8.023 24.526,9.596 18.583,10.605 14.368,12.512 15.513,19.179" Fill="#FFF9E007" Margin="0.907,28.848,24.567,1.972"/>
                            <Path Data="M8.046,14.396C11.315,14.297 14.182,11.235 14.037,7.994 13.897,4.807 11.196,2.32 7.902,2.344 4.365,2.371 1.866,5.016 1.997,8.594 2.113,11.732 4.985,14.489 8.046,14.396 M15.741,8.496C15.721,13.121 12.508,16.448 8.08,16.427 3.621,16.406 -0.039,12.719 0.001,8.287 0.042,3.963 3.917,-0.012 8.08,0 12.514,0.012 15.764,3.616 15.741,8.496" Fill="White" Margin="29.972,4.526,4.288,29.047"/>
                            <Path Data="M6.054,12.052C2.993,12.145 0.121,9.388 0.005,6.25 -0.126,2.672 2.373,0.027 5.91,0 9.204,-0.024 11.905,2.463 12.045,5.65 12.19,8.891 9.323,11.953 6.054,12.052" Fill="#FF0082D1" Margin="31.964,6.87,5.986,31.076"/>
                        </Grid>
                        <StackPanel>
                            <TextBlock Text="台塑" FontSize="27"/>
                            <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.FPCCsavedDate, Converter={StaticResource dateConverter}, ElementName=currentpricePage, StringFormat=\{0:d\}}" Width="107" FontSize="17.333" Foreground="{Binding DataContext.FPCCsavedDate, Converter={StaticResource datecolorConverter}, ElementName=currentpricePage}" TextAlignment="Right"/>
                        </StackPanel>
                        <StackPanel Width="70" Margin="90,0,0,0">
                            <TextBlock Text="汽油" FontSize="14" Foreground="#FF888888"/>
                            <StackPanel Orientation="Horizontal">
                                <Grid Width="10" Height="10">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.FPCC95Change, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" Height="7" VerticalAlignment="Top" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.FPCC95Change, Converter={StaticResource priceConverter}, ElementName=currentpricePage, StringFormat=\{0:N1\}}" FontSize="45" TextAlignment="Right" Foreground="{Binding DataContext.FPCC95Change, Converter={StaticResource colorConverter}, ElementName=currentpricePage}" />
                            </StackPanel>
                        </StackPanel>
                        <StackPanel Width="70" Margin="10,0,0,0">
                            <TextBlock Text="柴油" Margin="0" FontSize="14" Foreground="#FF888888"/>
                            <StackPanel Orientation="Horizontal">
                                <Grid Width="10" Height="10">
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=1, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="#FF46DE46" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill"/>
                                    <Path Data="F1M0,0L22.357,38.725 44.717,0z" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=2, Converter={StaticResource signConverter}, ElementName=currentpricePage}" Fill="Red" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
                                        <Path.RenderTransform>
                                            <RotateTransform Angle="180"/>
                                        </Path.RenderTransform>
                                    </Path>
                                    <Rectangle Fill="LightGray" Visibility="{Binding DataContext.FPCCdieselChange, ConverterParameter=0, Converter={StaticResource signConverter}, ElementName=currentpricePage}" HorizontalAlignment="Left" Height="7" VerticalAlignment="Top" Width="7"/>
                                </Grid>
                                <TextBlock HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="{Binding DataContext.FPCCdieselChange, Converter={StaticResource priceConverter}, ElementName=currentpricePage, StringFormat=\{0:N1\}}" FontSize="45" TextAlignment="Right" Foreground="{Binding DataContext.FPCCdieselChange, Converter={StaticResource colorConverter}, ElementName=currentpricePage}"/>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                    <TextBlock Text="請至「目前油價」中按下方油槍按鈕儲存本次油價" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10" Visibility="{Binding DataContext.savedcount, ConverterParameter=0, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                    <ItemsControl x:Name="SAVEDFPCCitems" ItemsSource="{Binding Source={StaticResource SAVEDFPCCcollection}}" ItemTemplate="{Binding Source={StaticResource bulletinItem}}" ItemsPanel="{Binding Source={StaticResource bulletinHolder}}" Margin="0" Visibility="{Binding DataContext.savedcount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=currentpricePage}"/>
                </StackPanel>
            </phone:PanoramaItem> -->
            <phone:PanoramaItem x:Name="locationPage" Background="#4CFFFFFF">
                <phone:PanoramaItem.Header>
                    <TextBlock Text="加油站位置" FontSize="45" Margin="0,5,0,0"/>
                </phone:PanoramaItem.Header>
                <phone:PanoramaItem.DataContext>
                    <libViewModels:stationViewModel/>
                </phone:PanoramaItem.DataContext>
                <Grid Margin="0,-40,0,0">
                    <StackPanel Margin="0,10,0,0" Orientation="Vertical" VerticalAlignment="Top">
                        <StackPanel Orientation="Horizontal" Visibility="{Binding DataContext.filtercount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=locationPage}">
                            <TextBlock Text="過濾條件：" FontSize="22" FontWeight="Bold" Margin="0,3,0,0"/>
                            <ItemsControl x:Name="filters" ItemsSource="{Binding DataContext.filters, ElementName=locationPage}">
                                <ItemsControl.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <toolkit:WrapPanel Margin="3" HorizontalAlignment="Left" VerticalAlignment="Center" Width="{Binding DataContext.foundcount, Converter={StaticResource filterwidthConverter}, ElementName=locationPage}" Clip="{Binding DataContext.foundcount, Converter={StaticResource rectclipConverter}, ElementName=locationPage, Mode=OneWay}" Height="{Binding DataContext.foundcount, Converter={StaticResource filterheightConverter}, ElementName=locationPage}"/>
                                    </ItemsPanelTemplate>
                                </ItemsControl.ItemsPanel>
                                <ItemsControl.ItemTemplate>
                                    <DataTemplate>
                                        <StackPanel Margin="3">
                                            <Border Background="#FFF7F7F7" BorderBrush="#FFE2E2E2" BorderThickness="0,1,1,1" Padding="0,0,1.5,0" HorizontalAlignment="Left">
                                                <StackPanel Orientation="Horizontal" >
                                                    <Rectangle Width="10" Fill="#FFEAA512"/>
                                                    <TextBlock Text="{Binding}" FontFamily="Portable User Interface" Margin="2"/>
                                                </StackPanel>
                                            </Border>
                                        </StackPanel>
                                    </DataTemplate>
                                </ItemsControl.ItemTemplate>
                            </ItemsControl>
                            <Border Width="28" Height="28" BorderThickness="1" Background="#FFE6E6E6" BorderBrush="#FFA6A6A6" Visibility="{Binding DataContext.foundcount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=locationPage}">
                                <TextBlock Foreground="#FFA6A6A6" Text="{Binding DataContext.filtercount, ElementName=locationPage}" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Segoe WP Semibold" FontSize="24"/>
                            </Border>
                        </StackPanel>
                        <!-- <StackPanel Orientation="Horizontal">

                            <Border Background="#FFE8E8E8" Margin="3" BorderBrush="#FF343434" BorderThickness="1" Padding="2,0" Visibility="{Binding DataContext.sfilterDirect, Converter={StaticResource searchtermvisConverter}, ElementName=locationPage}">
                                <TextBlock Text="{Binding DataContext.sfilterDirect, Converter={StaticResource directfilterConverter}, ElementName=locationPage}"/>
                            </Border>
                            <Border Background="#FFE8E8E8" Margin="3" BorderBrush="#FF343434" BorderThickness="1" Padding="2,0" Visibility="{Binding DataContext.sfilterFavoirte, Converter={StaticResource searchtermvisConverter}, ElementName=locationPage}">
                                <TextBlock Text="{Binding DataContext.sfilterFavoirte, Converter={StaticResource favoritefilterConverter}, ElementName=locationPage}"/>
                            </Border>
                            <Border Background="#FFE8E8E8" Margin="3" BorderBrush="#FF343434" BorderThickness="1" Padding="2,0" Visibility="{Binding DataContext.sfilterFPCC, Converter={StaticResource searchtermvisConverter}, ElementName=locationPage}">
                                <TextBlock Text="{Binding DataContext.sfilterFPCC, Converter={StaticResource brandfilterConverter}, ElementName=locationPage}"/>
                            </Border>
                            <Border Background="#FFE8E8E8" Margin="3" BorderBrush="#FF343434" BorderThickness="1" Padding="2,0" Visibility="{Binding DataContext.sfilterSelf, Converter={StaticResource searchtermvisConverter}, ElementName=locationPage}">
                                <TextBlock Text="{Binding DataContext.sfilterSelf, Converter={StaticResource selffilterConverter}, ElementName=locationPage}"/>
                            </Border>
                            <Border Background="#FFE8E8E8" Margin="3" BorderBrush="#FF343434" BorderThickness="1" Padding="2,0" Visibility="{Binding DataContext.sfilterCPC, Converter={StaticResource searchtermvisConverter}, ElementName=locationPage}">
                                <TextBlock Text="{Binding DataContext.sfilterCPC, Converter={StaticResource selffilterConverter}, ElementName=locationPage}"/>
                            </Border>
                        </StackPanel> -->
                        <TextBlock Text="提示：台塑加油站官方無公告座標，結果僅供參考" TextWrapping="Wrap" FontSize="16" Visibility="{Binding DataContext.foundcount, ConverterParameter=0, Converter={StaticResource countvisConverter}, ElementName=locationPage}"/>
                        <Border Background="#FFF1F1F1" Visibility="{Binding DataContext.foundcount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=locationPage}">
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="{Binding DataContext.foundcount, Converter={StaticResource foundcountCounter}, ElementName=locationPage}" FontSize="22"/>
                                <TextBlock Text="，" FontSize="16"/>
                                <TextBlock Text="{Binding DataContext.stationDBcount, Converter={StaticResource DBcountConverter}, ElementName=locationPage}" FontSize="22"/>
                            </StackPanel>
                        </Border>
                        <TextBlock Text="點下方放大鏡開始搜尋，手動設定搜尋區域範圍與條件請按下方過濾器按鈕" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="Gray" FontSize="36" Margin="10,50,10,10" Visibility="{Binding DataContext.foundcount, ConverterParameter=0, Converter={StaticResource countvisConverter}, ElementName=locationPage}"/>
                        <StackPanel Visibility="{Binding DataContext.foundcount, ConverterParameter=1, Converter={StaticResource countvisConverter}, ElementName=locationPage}">
                            <maps:Map x:Name="mapcontrol" ZoomLevel="13.5"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" LandmarksEnabled="False" Height="150" Center="{Binding DataContext.centerloc, Converter={StaticResource geoPointConverter}, ElementName=locationPage, Mode=TwoWay}" Helpers:mappushpinAttr.ItemsSource="{Binding DataContext.mapStations, ElementName=locationPage}" Loaded="mapcontrol_Loaded">
                                <maptk:MapExtensions.Children>
                                    <maptk:MapItemsControl>
                                        <maptk:MapItemsControl.ItemTemplate>
                                            <DataTemplate>
                                                <maptk:Pushpin GeoCoordinate="{Binding coordinance, Converter={StaticResource geoPointConverter}}">
                                                    <maptk:Pushpin.Template>
                                                        <ControlTemplate>
                                                            <Grid>
                                                                <Grid Visibility="{Binding regular, ConverterParameter=1, Converter={StaticResource boolvisConverter}}">
                                                                    <Grid Height="40.69" Width="30" Visibility="{Binding brand, ConverterParameter=1, Converter={StaticResource brandvisconvert}}">
                                                                        <Path Data="F1M12.344,0L6.172,10.69 0,0z" Fill="#FF1B828B" Margin="9.129,30,8.527,0"/>
                                                                        <Grid Margin="0,0,0,10.69">
                                                                            <Grid.Clip>
                                                                                <RectangleGeometry Rect="0, 0, 30, 30"/>
                                                                            </Grid.Clip>
                                                                            <Path Data="F1M30,30L0,30 0,0 30,0z" Fill="#FF1B828B"/>
                                                                            <Grid Margin="6.853,-5.833,-8.536,4.169">
                                                                                <Path Data="M0.315,10.846C0.519,10.937 0.678,10.861 0.845,10.811 1.992,10.475 3.173,10.227 4.275,9.783 5.287,9.375 5.933,9.563 6.608,10.406 7.171,11.112 7.943,11.655 8.571,12.225 8.746,11.179 8.959,9.989 9.132,8.791 9.188,8.426 9.323,8.249 9.693,8.144 10.981,7.777 12.256,7.364 13.633,6.938 12.442,6.378 11.362,5.839 10.254,5.361 9.836,5.181 9.766,4.953 9.836,4.55 9.985,3.699 10.092,2.841 10.235,1.847 9.436,2.582 8.73,3.215 8.045,3.871 7.824,4.084 7.648,4.109 7.368,3.976 5.673,3.181 3.969,2.402 2.266,1.624 2.148,1.569 2.037,1.44 1.837,1.553 3.084,3.021 4.32,4.478 5.644,6.039L2.465,6.039C2.877,6.479 3.209,6.856 3.564,7.208 3.825,7.464 3.891,7.621 3.551,7.912 2.455,8.86 1.399,9.856 0.315,10.846 M13.711,13.707C9.265,13.707 4.819,13.703 0.371,13.715 0.068,13.715 0,13.647 0,13.344 0.011,8.895 0.007,4.45 0.007,0.002 4.578,0.005 9.146,0.007 13.714,0.009L13.714,0C13.727,0.144 13.753,0.288 13.753,0.432 13.754,4.73 13.754,9.028 13.753,13.325 13.753,13.453 13.726,13.579 13.711,13.707" Fill="#FF1E81A1" Margin="0.001,13.707,6.432,0"/>
                                                                                <Path Data="M7.264,12.182C7.585,12.16 7.911,12.162 8.229,12.108 10.589,11.708 12.085,10.277 12.952,8.112 13.024,7.934 13.223,7.681 12.993,7.549 12.755,7.412 12.618,7.709 12.464,7.86 12.43,7.894 12.407,7.938 12.374,7.975 11.552,8.9 10.619,9.66 9.353,9.865 8.328,10.028 7.317,9.966 6.371,9.493 4.063,8.336 4.518,5.308 5.953,4.217 6.782,3.587 8.189,3.55 9.003,4.16 9.543,4.564 9.773,5.329 9.536,5.936 9.251,6.664 8.714,6.99 7.94,6.911 7.67,6.883 7.451,6.754 7.235,6.61 7.125,6.538 7.002,6.434 6.885,6.532 6.753,6.64 6.811,6.798 6.877,6.932 6.993,7.167 7.134,7.376 7.354,7.532 8.022,8.005 8.77,8.095 9.531,7.907 10.674,7.624 11.307,6.806 11.527,5.696 11.762,4.506 11.482,3.433 10.505,2.64 9.342,1.694 7.983,1.5 6.53,1.648 3.985,1.908 1.922,4.111 1.865,6.669 1.793,9.883 4.033,12.164 7.264,12.182 M13.715,13.716C9.147,13.714 4.578,13.712 0.008,13.709 0.008,9.264 0.012,4.818 0,0.37 0,0.069 0.069,-0.001 0.371,0 4.82,0.011 9.266,0.007 13.711,0.007 13.727,0.133 13.755,0.261 13.755,0.387 13.757,4.703 13.757,9.018 13.755,13.333 13.755,13.461 13.729,13.588 13.715,13.716" Fill="#FF6BF3CE" Margin="0,0,6.43,13.706"/>
                                                                                <Path Data="M6.919,11.297C9.415,11.307 11.435,9.295 11.421,6.813 11.407,4.379 9.433,2.371 7.035,2.355 4.494,2.338 2.486,4.281 2.477,6.769 2.469,9.301 4.416,11.288 6.919,11.297 M0.004,13.715C0.018,13.588 0.044,13.461 0.044,13.333 0.046,9.018 0.046,4.702 0.044,0.386 0.044,0.26 0.016,0.133 0,0.007 4.48,0.007 8.958,0.011 13.438,0 13.74,-0.001 13.81,0.067 13.809,0.37 13.798,4.818 13.801,9.263 13.801,13.709 10.869,13.715 7.939,13.724 5.007,13.724 3.34,13.725 1.671,13.712 0.004,13.707z" Fill="#FF144435" Margin="13.711,0,0,13.698" Grid.ColumnSpan="2"/>
                                                                                <Path Data="M5.397,4.783C5.224,3.784 5.104,2.856 4.872,1.947 4.82,1.744 4.787,1.517 4.53,1.466 4.28,1.415 4.155,1.613 4.012,1.763 3.956,1.821 3.903,1.884 3.858,1.951 2.658,3.722 1.935,5.639 2.026,7.817 2.149,10.737 5.158,12.716 7.866,11.627 9.493,10.973 10.546,9.694 11.428,8.248 11.854,7.556 12.18,6.817 12.398,6.032 12.456,5.828 12.516,5.606 12.348,5.435 12.172,5.257 11.958,5.349 11.758,5.428 11.64,5.477 11.518,5.519 11.398,5.568 10.638,5.879 9.878,6.19 9.13,6.495 9.028,6.383 9.058,6.282 9.068,6.191 9.17,5.112 9.252,4.032 9.237,2.948 9.232,2.687 9.372,2.343 9.068,2.193 8.746,2.033 8.536,2.348 8.315,2.515 7.356,3.25 6.405,3.997 5.397,4.783 M0.002,0C1.67,0.005 3.338,0.018 5.006,0.017 7.938,0.017 10.868,0.009 13.8,0.002 13.8,4.45 13.796,8.895 13.808,13.344 13.808,13.647 13.74,13.715 13.436,13.715 8.957,13.703 4.478,13.707 -0.001,13.707 0.014,13.579 0.042,13.453 0.042,13.325 0.043,9.028 0.043,4.73 0.042,0.432 0.042,0.288 0.015,0.144 0.002,0" Fill="#FF327E87" Margin="13.712,13.707,0,0" Grid.ColumnSpan="2"/>
                                                                                <Path Data="M0,9.338C1.084,8.348 2.14,7.352 3.236,6.404 3.576,6.113 3.51,5.956 3.249,5.7 2.894,5.348 2.562,4.971 2.15,4.531L5.329,4.531C4.005,2.97 2.769,1.513 1.522,0.045 1.722,-0.068 1.833,0.061 1.951,0.116 3.654,0.894 5.358,1.673 7.053,2.468 7.333,2.601 7.509,2.576 7.73,2.363 8.415,1.707 9.121,1.074 9.92,0.339 9.777,1.333 9.67,2.191 9.521,3.042 9.451,3.445 9.521,3.673 9.939,3.853 11.047,4.331 12.127,4.87 13.318,5.43 11.941,5.856 10.666,6.269 9.378,6.636 9.008,6.741 8.873,6.918 8.817,7.283 8.644,8.481 8.431,9.671 8.256,10.717 7.628,10.147 6.856,9.604 6.293,8.898 5.618,8.055 4.972,7.867 3.96,8.275 2.858,8.719 1.677,8.967 0.53,9.303 0.363,9.353 0.204,9.429 0,9.338" Fill="#FF6BF3CE" Margin="0.316,15.215,6.553,1.49"/>
                                                                                <Path Data="M5.401,10.579C2.17,10.561 -0.07,8.28 0.002,5.066 0.059,2.508 2.122,0.305 4.667,0.045 6.12,-0.103 7.479,0.091 8.642,1.037 9.619,1.83 9.899,2.903 9.664,4.093 9.444,5.203 8.811,6.021 7.668,6.304 6.907,6.492 6.159,6.402 5.491,5.929 5.271,5.773 5.13,5.564 5.014,5.329 4.948,5.195 4.89,5.037 5.022,4.929 5.139,4.831 5.262,4.935 5.372,5.007 5.588,5.151 5.807,5.28 6.077,5.308 6.851,5.387 7.388,5.061 7.673,4.333 7.91,3.726 7.68,2.961 7.14,2.557 6.326,1.947 4.919,1.984 4.09,2.614 2.655,3.705 2.2,6.733 4.508,7.89 5.454,8.363 6.465,8.425 7.49,8.262 8.756,8.057 9.689,7.297 10.511,6.372 10.544,6.335 10.567,6.291 10.601,6.257 10.755,6.106 10.892,5.809 11.13,5.946 11.36,6.078 11.161,6.331 11.089,6.509 10.222,8.674 8.726,10.105 6.366,10.505 6.048,10.559 5.722,10.557 5.401,10.579" Fill="#FF327E87" Margin="1.863,1.603,7.087,15.24"/>
                                                                                <Path Data="M7.937,4.506C7.942,2.528 6.404,0.964 4.46,0.974 2.53,0.982 0.987,2.532 0.981,4.464 0.976,6.408 2.508,7.952 4.444,7.954 6.406,7.956 7.934,6.448 7.937,4.506 M4.443,8.942C1.94,8.934 -0.007,6.946 0,4.416 0.01,1.926 2.018,-0.016 4.559,0 6.957,0.017 8.931,2.025 8.945,4.458 8.958,6.942 6.939,8.952 4.443,8.942" Fill="#FFF9FAFB" Margin="16.187,2.354,2.388,16.126" Grid.ColumnSpan="2"/>
                                                                                <Path Data="M3.378,3.325C4.386,2.539 5.337,1.792 6.296,1.057 6.517,0.89 6.727,0.575 7.049,0.735 7.354,0.885 7.213,1.229 7.218,1.49 7.233,2.574 7.15,3.654 7.048,4.733 7.039,4.824 7.008,4.925 7.111,5.037 7.858,4.732 8.618,4.421 9.379,4.11 9.498,4.061 9.62,4.019 9.739,3.97 9.939,3.891 10.152,3.799 10.33,3.977 10.498,4.148 10.436,4.37 10.378,4.574 10.16,5.359 9.834,6.098 9.409,6.79 8.526,8.236 7.474,9.515 5.848,10.169 3.138,11.258 0.13,9.279 0.007,6.359 -0.084,4.181 0.638,2.264 1.839,0.493 1.884,0.426 1.936,0.363 1.992,0.305 2.136,0.155 2.26,-0.043 2.511,0.008 2.768,0.059 2.801,0.286 2.853,0.489 3.085,1.398 3.205,2.326 3.378,3.325" Fill="#FF6BF3CE" Margin="15.731,15.165,1.35,1.785" Grid.ColumnSpan="2"/>
                                                                                <Path Data="M6.956,3.532C6.953,5.476 5.425,6.984 3.463,6.98 1.527,6.98 -0.005,5.436 0,3.49 0.006,1.56 1.549,0.01 3.479,0 5.423,-0.009 6.961,1.554 6.956,3.532" Fill="#FF027DC4" Margin="17.168,3.327,3.396,17.115" Grid.ColumnSpan="2"/>
                                                                            </Grid>
                                                                        </Grid>
                                                                    </Grid>
                                                                    <Grid Height="40.69" Width="30" Visibility="{Binding brand, ConverterParameter=0, Converter={StaticResource brandvisconvert}}">
                                                                        <Path Data="F1M12.343,0L6.171,10.69 0,0z" Fill="#FF134E8B" Margin="9.13,30,8.527,0"/>
                                                                        <Grid Margin="0,0,0,10.69">
                                                                            <Grid.Clip>
                                                                                <RectangleGeometry Rect="0, 0, 30, 30"/>
                                                                            </Grid.Clip>
                                                                            <Path Data="F1M30,30L0,30 0,0 30,0z" Fill="#FF134E8B"/>
                                                                            <Grid Margin="6.853,-5.833,-8.536,4.169">
                                                                                <Path Data="F1M31.683,15.847C31.683,7.1 24.59,0 15.845,0 7.094,0 0,7.1 0,15.847 0,23.734 5.764,30.275 13.309,31.487L13.309,30.641C6.233,29.439 0.839,23.273 0.839,15.847 0.839,7.555 7.555,0.838 15.845,0.838 24.129,0.838 30.853,7.555 30.853,15.847 30.853,23.388 25.29,29.629 18.043,30.695L18.043,31.536C25.751,30.464,31.683,23.848,31.683,15.847" Fill="#FF496ED2" Margin="0,0,0,0.128"/>
                                                                                <Path Data="F1M28.101,14.05C28.101,6.293 21.815,0 14.054,0 6.293,0 0,6.293 0,14.05 0,20.951 4.979,26.689 11.534,27.876L11.534,26.9C5.509,25.727 0.96,20.42 0.96,14.05 0.96,6.816 6.824,0.961 14.054,0.961 21.285,0.961 27.148,6.816 27.148,14.05 27.148,20.519 22.454,25.891 16.289,26.952L16.289,27.923C22.984,26.853,28.101,21.05,28.101,14.05" Fill="#FF496ED2" Margin="1.737,1.782,1.845,1.959"/>
                                                                                <Path Data="F1M24.268,12.136C24.268,5.432 18.835,0 12.134,0 5.434,0 0,5.432 0,12.136 0,17.975 4.12,22.85 9.614,24.009L9.614,23.029C4.658,21.888 0.954,17.444 0.954,12.136 0.954,5.963 5.965,0.961 12.134,0.961 18.305,0.961 23.307,5.963 23.307,12.136 23.307,17.543 19.473,22.054 14.37,23.089L14.37,24.065C20.004,23.015,24.268,18.074,24.268,12.136" Fill="#FF496ED2" Margin="3.657,3.696,3.758,3.903"/>
                                                                                <Path Data="F1M8.36,2.196C8.36,2.196,6.87,1.398,4.81,1.332L4.81,0.866C5.894,0.894 7.124,1.114 8.444,1.689 8.598,1.755 8.36,2.196 8.36,2.196 M0.73,2.31L0.53,1.83C0.53,1.83,2.006,0.937,4.28,0.866L4.28,1.332C3.18,1.368,1.96,1.626,0.73,2.31 M4.81,0.464L4.81,0 4.28,0 4.28,0.476C1.766,0.598 0.001,1.717 0.001,1.717 0.001,1.717 0.546,2.869 0.73,2.788 2.282,2.112 3.312,1.77 4.28,1.702L4.28,2.478 4.81,2.478 4.81,1.693C5.832,1.727 6.878,2.06 8.498,2.619 8.668,2.675 8.952,1.548 8.952,1.548 7.492,0.759 6.078,0.477 4.81,0.464" Fill="#FF496ED2" Margin="11.12,16.481,11.612,12.391"/>
                                                                                <Path Data="F1M5.744,0C5.744,0 4.162,1.636 4.331,3.096 4.385,3.542 4.392,4.671 3.885,5.125 3.701,5.286 2.77,3.665 1.466,3.827 1.466,4.111 3.04,4.841 1.35,6.533 1.019,6.806 -1.978,10.984 2.195,11.434 2.441,11.461 -0.457,10.138 2.418,7.435 2.587,7.275 2.533,10.425 5.291,10.425 5.968,10.425 7.765,9.519 7.526,7.604 7.828,7.379 11.039,9.688 8.165,11.322 8.165,11.322 9.117,11.546 10.024,10.758 11.048,9.859 11.723,8.181 9.064,5.917 9.064,5.917 9.518,4.902 9.117,4.165 8.964,3.88 9.011,2.927 9.117,2.651 9.234,2.366 8.557,3.265 8.611,3.827 8.673,4.395 7.828,5.071 7.526,4.956 7.305,4.872 8.165,4.395 6.137,2.313 5.783,1.944 5.26,0.953 5.744,0" Fill="#FFF22E97" Margin="10.5,5.694,10.255,14.536"/>
                                                                                <Path Data="F1M0.241,0C0.241,0 0.326,1.662 1.54,2.394 1.617,2.44 -0.743,2 0.241,0" Fill="#FFF22E97" Margin="12.477,14.171,17.665,15.096"/>
                                                                                <Path Data="F1M1.475,0C1.621,0.099 2.16,2.126 0.008,2.394 -0.116,2.41 1.252,1.93 1.475,0" Fill="#FFF22E97" Margin="17.182,14.213,12.859,15.057"/>
                                                                                <Path Data="F1M0.86,0C0.86,0 1.106,1.898 1.182,2.084 1.298,2.348 0.361,1.578 0,0.282 0.114,0.151 0.86,0 0.86,0" Fill="#FF496ED2" Margin="12.411,19.212,18.079,10.316"/>
                                                                                <Path Data="F1M0,0.094L0.768,0 0.807,2.534C0.807,2.534 1.221,2.722 1.858,2.756 1.912,2.759 1.82,8.053 1.82,8.053L1.505,8.035 1.367,3.117C1.367,3.117 0.414,2.985 0.169,2.704 0.084,2.609 0,0.094 0,0.094" Fill="#FF496ED2" Margin="13.933,18.949,15.875,4.662"/>
                                                                                <Path Data="F1M1.729,1.647C1.544,1.554,1.344,1.483,1.16,1.428L1.199,0.866C1.422,0.916 1.667,0.987 1.944,1.091 1.944,1.091 1.952,1.325 1.729,1.647 M1.091,2.242L1.137,1.71C1.307,1.768 1.453,1.829 1.544,1.87 1.429,1.99 1.284,2.116 1.091,2.242 M0.338,1.567C0.5,1.569 0.662,1.59 0.807,1.621 0.784,1.93 0.746,2.245 0.683,2.483 0.591,2.531 0.492,2.578 0.384,2.626 0.353,2.639 0.338,2.079 0.338,1.567 M0.338,0.754C0.338,0.754 0.53,0.75 0.845,0.798 0.845,0.944 0.838,1.136 0.823,1.342 0.623,1.298 0.446,1.273 0.338,1.26z M1.237,0.553L1.245,0.054C1.245,0.054 0.914,0 0.875,0 0.883,0.078 0.868,0.274 0.861,0.43 0.63,0.408 0.062,0.345 0,0.345 0.039,0.608 0.008,3.057 0.008,3.057 0.008,3.057 2.037,2.607 2.52,0.918 2.543,0.842 1.237,0.553 1.237,0.553" Fill="#FF496ED2" Margin="16.199,18.895,12.964,9.712"/>
                                                                                <Path Data="F1M0,0L0.438,0 0.438,1.915 0,1.915z" Fill="#FF496ED2" Margin="15.184,19.269,16.061,10.48"/>
                                                                                <Path Data="F1M1.682,1.636L3.622,1.636C3.219,1.483 2.808,1.359 2.391,1.259 2.208,1.408 1.972,1.534 1.682,1.636 M3.304,2.971L0.943,2.971 0.943,3.237 3.304,3.237z M0.943,2.689L3.304,2.689 3.304,2.457 0.943,2.457z M0.943,2.164L3.304,2.164 3.304,1.94 0.943,1.94z M0.395,0.103C0.661,0.202,0.907,0.319,1.129,0.457L0.879,0.837C0.653,0.667,0.419,0.531,0.181,0.425z M1.992,0L2.363,0.143C2.312,0.221,2.266,0.293,2.224,0.358L4.017,0.358 4.017,0.658C3.856,0.837,3.662,0.994,3.435,1.128L3.152,0.874C3.247,0.827,3.356,0.763,3.475,0.676L2.869,0.676C2.795,0.796 2.726,0.9 2.664,0.99 3.178,1.114 3.651,1.251 4.084,1.403L3.87,1.739C3.822,1.719,3.771,1.698,3.718,1.681L3.718,3.536 2.789,3.536C3.228,3.617,3.685,3.733,4.161,3.886L4.008,4.263C3.545,4.09,3.062,3.955,2.561,3.863L2.726,3.536 1.521,3.536 1.753,3.814C1.27,4.008,0.787,4.152,0.305,4.245L0.127,3.867C0.646,3.798,1.101,3.688,1.49,3.536L0.53,3.536 0.53,1.636 1.386,1.636 1.198,1.389C1.598,1.291 1.908,1.157 2.126,0.986 2.231,0.902 2.324,0.8 2.409,0.676L1.934,0.676C1.807,0.796,1.62,0.928,1.369,1.07L1.054,0.793C1.299,0.67 1.495,0.55 1.642,0.43 1.782,0.311 1.9,0.167 1.992,0 M1,0.914L1.113,1.295C0.862,1.437,0.547,1.56,0.172,1.667L0,1.264C0.329,1.192,0.662,1.075,1,0.914" Fill="#FFF22E97" Margin="13.542,27.401,13.98,0"/>
                                                                            </Grid>
                                                                        </Grid>
                                                                    </Grid>
                                                                </Grid>
                                                                <Grid Visibility="{Binding regular, ConverterParameter=0, Converter={StaticResource boolvisConverter}}">
                                                                    <Grid Height="15.999" Width="16" Visibility="{Binding current, ConverterParameter=1, Converter={StaticResource boolvisConverter}}">
                                                                        <Path Data="F1M16,8C16,12.417 12.419,15.999 8,15.999 3.581,15.999 0,12.417 0,8 0,3.583 3.581,0 8,0 12.419,0 16,3.583 16,8" Fill="#FFFF9999"/>
                                                                        <Path Data="F1M9.999,5C9.999,7.761 7.761,10 4.999,10 2.238,10 0,7.761 0,5 0,2.238 2.238,0 4.999,0 7.761,0 9.999,2.238 9.999,5" Fill="#FFBF0000" Margin="3,2.999,3.001,3"/>
                                                                    </Grid>
                                                                    <Grid Height="40.69" Width="30" Visibility="{Binding favorite, ConverterParameter=1, Converter={StaticResource boolvisConverter}}">
                                                                        <Path Data="F1M12.343,0L6.171,10.69 0,0z" Fill="#FFFFD517" Margin="9.13,30,8.527,0"/>
                                                                        <Grid Margin="0,0,0,10.69">
                                                                            <Grid.Clip>
                                                                                <RectangleGeometry Rect="0, 0, 30, 30"/>
                                                                            </Grid.Clip>
                                                                            <Path Data="F1M30,30L0,30 0,0 30,0z" Fill="#FFFFD517"/>
                                                                            <Path Data="F1M13.52,11.991L19.948,0 25.555,12.395 38.943,14.803 28.889,23.966 30.736,37.443 18.915,30.712 6.668,36.634 9.416,23.31 0,13.493z" Fill="#FFFFB300" Margin="2.5,-9.943,-11.443,2.5"/>
                                                                        </Grid>
                                                                    </Grid>
                                                                </Grid>
                                                            </Grid>
                                                        </ControlTemplate>
                                                    </maptk:Pushpin.Template>
                                                </maptk:Pushpin>
                                            </DataTemplate>
                                        </maptk:MapItemsControl.ItemTemplate>
                                    </maptk:MapItemsControl>
                                </maptk:MapExtensions.Children>
                            </maps:Map>
                            <TextBlock Text="{Binding DataContext.stationBehavior, Converter={StaticResource stationbehaviortitleConverter}, ElementName=locationPage}" HorizontalAlignment="Center" Foreground="#FF7C7C7C"/>
                            <phone:LongListSelector x:Name="stationLLS"
							ItemsSource="{Binding DataContext.queryStations, ElementName=locationPage}"
							ItemTemplate="{StaticResource stationItem}"                     
							GroupHeaderTemplate="{StaticResource stationHeader}"
							JumpListStyle="{StaticResource stationStyle}" 
							IsGroupingEnabled="True"
							LayoutMode="List" 
							GridCellSize="380,120"
							Height="380"/>
                        </StackPanel>
                    </StackPanel>
                </Grid>
            </phone:PanoramaItem>
            <!-- <phone:PanoramaItem x:Name="settings" Background="#4CFFFFFF">
                <phone:PanoramaItem.Header>
                    <TextBlock Text="設定" FontSize="45" Margin="0,5,0,0"/>
                </phone:PanoramaItem.Header>
                <phone:PanoramaItem.DataContext>
                    <libViewModels:infoViewModel/>
                </phone:PanoramaItem.DataContext>
                <ScrollViewer>
                    <StackPanel>
                        <StackPanel>
                            <Border BorderThickness="0,0,0,1" BorderBrush="Black" Margin="0,3">
                                <TextBlock Text="搜尋過濾條件" FontSize="26"/>
                            </Border>
                        </StackPanel>
                    </StackPanel>
                </ScrollViewer>
            </phone:PanoramaItem> -->

            <!-- <phone:PanoramaItem x:Name="aboutPage" Background="#4CFFFFFF" FontFamily="Portable User Interface">
				<phone:PanoramaItem.Header>
					<TextBlock Text="關於" FontSize="45" Margin="0,5,0,0"/>
				</phone:PanoramaItem.Header>
				<phone:PanoramaItem.DataContext>
					<libViewModels:dcViewModel/>
				</phone:PanoramaItem.DataContext>
				<ScrollViewer HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,-40,0,0">
					<StackPanel>

					</StackPanel>
				</ScrollViewer>
			</phone:PanoramaItem>-->
        </phone:Panorama>
        <Grid HorizontalAlignment="Left" Height="32" Margin="0,0,0,0" VerticalAlignment="Top" Width="480" Background="{StaticResource PhoneAccentBrush}">
            <StackPanel x:Name="titlebar" Orientation="Horizontal" Margin="10,0,0,0">
                <StackPanel.DataContext>
                    <libViewModels:infoViewModel/>
                </StackPanel.DataContext>
            <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="台灣油價查詢">
            </TextBlock>
            <TextBlock x:Name="connectivitybar" Text="{Binding DataContext.connectivity, Converter={StaticResource connectivitystringConverter}, ElementName=titlebar}"/>
            </StackPanel>
        </Grid>
        <Grid x:Name="splash" Background="Black" d:IsHidden="True">
            <Canvas x:Name="圖層_1" Margin="45,266,45,262">
                <Path x:Name="path" Data="M48.949,0.046C63.65,0.046 78.35,0.093 93.051,0.001 95.726,-0.014 97.016,0.534 97.036,3.601 97.057,6.843 95.436,7.053 92.923,7.048 63.264,7.001 33.606,6.991 3.948,7.062 1.273,7.068 -0.002,6.582 0,3.492 0.002,0.29 1.519,-0.004 4.074,0.01 19.032,0.082 33.991,0.046 48.949,0.046" Fill="White" Height="7.061" Canvas.Left="135.966" Canvas.Top="138.819" Width="97.036"/>
                <Path x:Name="path1" Data="M47.905,35.638C32.455,35.638 17.631,35.687 2.809,35.523 1.871,35.512 0.161,33.854 0.144,32.938 -0.049,22.884 -0.049,12.822 0.147,2.768 0.165,1.831 1.878,0.138 2.82,0.125 17.003,-0.045 31.189,-0.027 45.372,0.095 46.222,0.102 47.787,1.357 47.797,2.049 47.951,13.103 47.905,24.16 47.905,35.638" Fill="Black" Height="35.644" Canvas.Left="160.198" Canvas.Top="18.779" Width="47.912"/>
                <Path x:Name="path2" Data="M66.682,54.417C51.232,54.417 36.408,54.466 21.586,54.302 20.648,54.291 18.938,52.633 18.921,51.717 18.728,41.663 18.728,31.601 18.924,21.547 18.942,20.61 20.655,18.917 21.597,18.904 35.78,18.734 49.966,18.752 64.149,18.874 64.999,18.881 66.564,20.136 66.574,20.828 66.728,31.882 66.682,42.939 66.682,54.417 M46.66,90.872C44.63,92.654 42.315,92.865 39.903,91.375 37.299,89.766 36.526,87.259 37.442,84.693 38.843,80.769 40.822,77.049 42.897,72.492 44.88,76.876 46.386,80.498 48.14,83.994 49.544,86.795 48.759,89.026 46.66,90.872 M113.307,45.798C113.306,45.67 113.293,45.54 113.307,45.412 113.572,42.961 112.614,41.883 110.018,41.984 106.022,42.141 102.01,42.141 98.014,41.981 95.701,41.889 94.272,42.92 94.75,44.974 95.045,46.239 96.729,47.833 98.015,48.076 100.589,48.561 103.32,48.22 106.103,48.22 106.368,53.955 106.77,59.2 106.818,64.449 106.922,76.199 106.884,87.949 106.82,99.697 106.808,101.86 106.578,104.061 106.114,106.169 105.474,109.075 103.395,110.345 100.461,110.19 97.458,110.033 95.675,108.399 95.404,105.448 95.051,101.618 94.789,97.767 94.742,93.924 94.619,83.984 94.752,74.04 94.539,64.103 94.447,59.761 92.556,56.054 88.228,54.511 85.78,53.639 85.236,52.314 85.248,49.967 85.327,34.732 85.21,19.495 85.35,4.261 85.38,1.102 84.506,-0.014 81.231,0 55.537,0.109 29.843,0.106 4.149,0.004 0.886,-0.009 0.002,1.115 0.009,4.289 0.099,45.993 0.106,87.697 0,129.401 -0.009,132.748 1.138,133.511 4.253,133.499 29.818,133.396 55.384,133.384 80.948,133.511 84.29,133.526 85.734,132.677 85.71,129.198 85.556,107.895 85.976,86.589 85.976,65.286L85.976,61.179C85.976,61.105 86.429,61.031 86.828,60.959 87.203,62.634 87.696,64.302 87.738,65.984 88.073,79.375 88.125,92.77 88.491,106.159 88.644,111.832 93.123,116.051 98.927,116.396 106.453,116.84 112.239,113.339 113.132,107.568 113.643,104.285 113.948,100.931 113.923,97.612 113.796,80.341 113.523,63.069 113.307,45.798" Fill="White" Height="133.511" Canvas.Left="141.421" Canvas.Top="0" Width="113.924"/>
                <Path x:Name="path3" Data="F1M13.761,49.983L44.789,49.983 44.789,40.765 13.761,40.765z M53.618,32.975L53.618,61.148 44.79,61.148 44.79,57.643 13.761,57.643 13.761,61.148 4.933,61.148 4.933,32.975z M20.123,0L29.47,2.596C26.744,7.703 23.758,12.268 20.512,16.294 19.3,17.764 18.153,19.042 17.072,20.123 24.688,19.993 33.3,19.69 42.908,19.214 40.181,16.315 37.26,13.459 34.144,10.645L40.505,6.101C47.646,12.031,54.094,18.695,59.85,26.094L52.709,31.547C51.584,29.687 50.285,27.847 48.814,26.03 32.499,27.631 16.617,28.518 1.168,28.691L0,19.863C2.033,19.907 3.83,19.95 5.388,19.993 7.465,18.262 9.433,16.294 11.294,14.086 14.237,10.581 17.179,5.885 20.123,0" Fill="White" Height="61.148" Canvas.Left="0" Canvas.Top="178.717" Width="59.85"/>
                <Path x:Name="path4" Data="F1M53.619,25.187C54.658,27.784,55.22,30.467,55.306,33.236L50.114,33.496C50.114,29.905,49.94,27.177,49.594,25.316z M37.52,24.927L34.664,24.927 34.664,28.692 37.52,28.692z M29.471,14.93L43.233,14.93 43.233,19.215 29.471,19.215z M27.394,24.343C27.956,25.425,28.475,26.724,28.952,28.238L28.952,23.629z M22.59,24.927C23.455,27.654,23.931,30.423,24.018,33.236L18.825,33.496C18.825,29.774,18.652,27.004,18.306,25.187z M15.45,34.404L57.903,34.404 57.903,45.83 24.927,45.83 24.018,48.166 61.019,48.166C60.5,54.874 59.612,58.769 58.358,59.851 57.405,60.63 55.826,61.019 53.619,61.019L35.833,61.019 34.924,55.047C43.059,55.393 47.949,55.567 49.594,55.567 50.416,55.567 50.849,55.09 50.892,54.139L51.022,52.97 14.281,52.97 17.527,41.286 49.594,41.286 49.594,39.208 15.45,39.208z M39.727,0C39.857,1.256,39.987,2.425,40.117,3.505L44.921,3.505 44.921,7.791 29.471,7.791C27.047,12.205 24.58,15.883 22.071,18.825 22.892,18.74 23.78,18.566 24.733,18.306 24.603,17.787 24.451,17.311 24.278,16.878L28.043,15.839C28.475,17.095,28.952,18.783,29.471,20.902L41.934,20.902 41.805,19.864C42.584,19.864 43.405,19.842 44.271,19.799 46.478,18.112 48.491,16.251 50.308,14.216 47.928,14.26 45.396,14.326 42.713,14.411L42.584,13.502 29.471,13.502 29.471,9.218 43.233,9.218 43.233,9.478 44.726,9.478C46.543,7.14,47.949,4.112,48.945,0.39L55.566,2.337C53.965,5.323 52.493,7.66 51.152,9.348 52.191,9.305 53.142,9.284 54.009,9.284 54.96,7.899 55.782,6.536 56.475,5.194L62.447,7.531C59.028,12.333 55.523,16.294 51.931,19.41 53.229,19.28 54.549,19.128 55.891,18.956 55.674,18.133 55.479,17.441 55.306,16.878L59.331,15.839C60.24,17.614,61.105,20.082,61.928,23.239L59.331,24.343C60.412,26.205,61.451,28.606,62.447,31.548L57.254,33.496C56.605,30.164,55.739,27.394,54.658,25.187L56.865,24.538C56.821,24.018 56.756,23.564 56.67,23.174 52.256,24.041 47.777,24.732 43.233,25.251L43.233,30.705C43.838,29.104,44.228,27.481,44.401,25.835L48.945,26.095C48.901,28.562,48.512,31.073,47.777,33.625L42.324,33.236C42.41,33.02,42.454,32.846,42.454,32.717L28.952,32.717 28.952,31.678 25.706,32.976C25.057,29.731,24.234,26.961,23.24,24.667L25.577,24.018C25.533,23.499 25.489,23.067 25.447,22.72 21.638,23.629 17.829,24.365 14.022,24.927L13.113,19.474C13.934,19.474 14.649,19.454 15.255,19.41 16.813,17.809 18.219,16.099 19.474,14.282 17.44,14.411 15.32,14.541 13.113,14.67L12.853,9.478 14.476,9.478C16.034,7.055,17.223,3.983,18.046,0.26L24.278,2.078C22.892,5.281,21.573,7.748,20.319,9.478L22.33,9.478C23.022,7.963,23.671,6.449,24.278,4.934L28.303,6.492 28.303,3.505 33.561,3.505C33.344,2.425,33.019,1.386,32.587,0.39z M13.762,25.576L17.786,25.835C17.743,28.172,17.353,30.64,16.618,33.236L11.685,32.717C12.723,30.509,13.415,28.13,13.762,25.576 M7.141,1.168C9.39,3.376,11.512,5.886,13.502,8.699L7.66,13.243C6.405,10.56,4.414,7.791,1.688,4.934z M5.973,17.267C8.569,19.562,10.949,22.201,13.113,25.187L7.141,29.861C5.583,27.004,3.288,24.018,0.26,20.902z M7.141,33.236L14.281,34.404C13.545,43.363,11.468,51.974,8.05,60.24L0,57.384C3.808,49.682,6.188,41.632,7.141,33.236" Fill="White" Height="61.019" Canvas.Left="64.523" Canvas.Top="178.456" Width="62.447"/>
                <Path x:Name="path5" Data="F1M43.882,49.853L51.023,49.853 51.023,36.999 43.882,36.999z M43.882,30.38L51.023,30.38 51.023,18.436 43.882,18.436z M28.432,49.853L35.832,49.853 35.832,36.999 28.432,36.999z M28.432,30.38L35.832,30.38 35.832,18.436 28.432,18.436z M59.331,11.553L59.331,61.148 51.022,61.148 51.022,56.474 28.432,56.474 28.432,61.148 20.123,61.148 20.123,11.553 35.313,11.553 35.313,0 44.141,0 44.141,11.553z M9.218,0.908C13.675,3.505,17.699,6.275,21.292,9.217L14.93,16.098C11.815,12.852,8.092,9.694,3.765,6.621z M5.713,16.358C9.997,18.955,13.934,21.854,17.527,25.055L11.425,31.807C8.179,28.475,4.457,25.229,0.26,22.07z M10.386,33.625L17.786,36.481C15.709,44.92,12.55,53.012,8.309,60.758L0,55.696C5.064,48.209,8.525,40.852,10.386,33.625" Fill="White" Height="61.148" Canvas.Left="131.514" Canvas.Top="178.717" Width="59.331"/>
                <Path x:Name="path6" Data="F1M52.969,16.618L48.425,16.618 48.425,19.474 52.969,19.474z M41.803,16.618L37.26,16.618 37.26,19.474 41.803,19.474z M42.323,8.828L37.13,8.828 37.13,10.905 42.323,10.905z M50.892,45.31L28.562,45.31 28.562,47.517 50.892,47.517z M28.562,41.025L50.892,41.025 50.892,38.948 28.562,38.948z M28.562,34.404L50.892,34.404 50.892,32.327 28.562,32.327z M30.639,16.618L26.354,16.618 26.354,19.474 30.639,19.474z M20.512,26.874L58.941,26.874 58.941,52.97 50.892,52.97C54.179,53.445,57.815,54.139,61.797,55.047L59.85,61.668C53.618,59.634,47.299,58.163,40.895,57.254L42.648,52.97 35.118,52.97 36.871,56.994C32.327,59.331,26.311,60.759,18.825,61.278L16.877,54.787C21.248,54.614,25.813,54.008,30.575,52.97L20.512,52.97z M11.684,0L19.473,1.688C19.386,2.034,19.321,2.337,19.279,2.597L61.538,2.597 61.538,8.828 49.853,8.828 49.853,10.905 60.369,10.905 60.369,25.187 18.825,25.187 18.825,10.905 29.47,10.905 29.47,8.828 18.305,8.828 18.305,5.582C17.396,8.698,16.314,11.749,15.06,14.735L15.06,61.019 7.14,61.019 7.14,29.211C5.754,31.288,4.326,33.279,2.855,35.183L0,26.095C5.279,18.999,9.173,10.3,11.684,0" Fill="White" Height="61.668" Canvas.Left="197.207" Canvas.Top="178.197" Width="61.797"/>
                <Path x:Name="path7" Data="F1M34.924,22.59L44.985,22.59C44.206,22.028 43.362,21.466 42.453,20.903 39.727,18.869 37.216,16.705 34.924,14.411z M44.141,38.429L17.268,38.429 17.268,41.805 44.141,41.805z M17.268,32.327L44.141,32.327 44.141,29.472 17.268,29.472z M15.709,22.59L26.614,22.59 26.614,14.411C23.368,17.441,19.734,20.167,15.709,22.59 M2.597,51.802L58.812,51.802 58.812,58.683 2.597,58.683z M2.337,5.453L26.614,5.453 26.614,0 34.924,0 34.924,5.453 59.07,5.453 59.07,12.334 41.934,12.334C47.473,16.317,54.138,19.345,61.928,21.422L57.383,28.693C55.781,28.173,54.138,27.568,52.45,26.875L52.45,48.686 8.958,48.686 8.958,26.291C7.14,27.069,5.323,27.87,3.505,28.693L0,20.644C7.487,18.61,13.762,15.839,18.825,12.334L2.337,12.334z" Fill="White" Height="58.683" Canvas.Left="264.457" Canvas.Top="179.365" Width="61.928"/>
                <Path x:Name="path8" Data="F1M39.857,36.871L33.626,36.871 33.626,42.974 39.857,42.974z M33.626,31.159L39.857,31.159 39.857,25.446 33.626,25.446z M10.387,50.374L15.839,50.374 15.839,43.493 10.387,43.493z M23.499,36.612L23.499,59.591 15.839,59.591 15.839,56.736 10.387,56.736 10.387,60.111 2.597,60.111 2.597,36.612z M2.597,26.616L23.241,26.616 23.241,33.237 2.597,33.237z M2.597,16.618L23.241,16.618 23.241,23.499 2.597,23.499z M32.977,0L41.285,1.429C40.506,3.334,39.728,5.152,38.948,6.882L58.812,6.882 58.812,30.186C58.812,43.948 57.815,52.451 55.826,55.697 54.355,58.985 50.654,60.63 44.726,60.63L41.025,60.63 39.338,52.322C42.93,52.408 45.007,52.451 45.57,52.451 47.387,52.451 48.643,51.802 49.335,50.503 50.286,49.076 50.763,43.948 50.763,35.119L50.763,14.022 34.6,14.022C33.431,15.797,32.11,17.485,30.64,19.085L47.258,19.085 47.258,49.465 26.355,49.465 26.355,20.06 22.98,15.191C23.672,14.585,24.256,14.066,24.732,13.633L0,13.633 0,6.492 8.569,6.492C8.222,4.372,7.79,2.468,7.271,0.78L17.008,0C17.397,2.165,17.722,4.329,17.982,6.492L25.836,6.492 25.836,12.4C28.952,8.938,31.331,4.805,32.977,0" Fill="White" Height="60.63" Canvas.Left="331.188" Canvas.Top="179.105" Width="58.812"/>
            </Canvas>
        </Grid>
    </Grid>
</phone:PhoneApplicationPage>